• Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in help with string and for next loop

    Start by taking the string from the textbox and adding a blank at the front. Then scan through the entire string and check each character. If a character is non-blank …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Created Archer

    Yay. The new season of Archer has started.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in There is an elephant on the loo!

    I suspect that you posted that just to poke a stick in the hornet's nest. Hoowever, because I have a few minutes to spare... >The rash of horrific attacks in …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How to make your VB.NET application yearly expiring

    Save the date and time when the app was first run, then just pop up a nag and exit if it is mote than one year old. The first-run date …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in VBA to VB.net "Open filePath For Input As #1"

    For future reference, unless the text file is exceedingly large I find it much easier to read the entire file in at once as Dim lines() As String = System.IO.File.ReadAllLines(filename) …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Do Your Own Homework

    >Why do so many people expect to be rewarded... I don't know about other places, but here in Winnipeg there was talk a few years ago about something which I …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Which Cloud Storage do you like?

    If there was an online storage option that would store my files encrypted (including file names) where the encryption key was stored only on my computer then I would likely …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Duplicate notifications

    Still getting duplicates of everything.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Memorable Quotations

    "Monsanto should not have to vouchsafe the safety of biotech food. Our interest is in selling as much of it as possible. Assuring its safety is the FDA's job." - …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in VBA to VB.net "Open filePath For Input As #1"

    I've noticed that a lot of your recent questions could be answered by even a cursory reading of just about any intro to vb.net programming book or one of the …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited phone number

    Private Sub GenerateButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GenerateButton.Click Dim i As String = PhoneNumberTextBox.Text Dim one As Integer = i.Substring(0, 1) 'Remove each digit Dim two …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited phone number

    Private Sub GenerateButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GenerateButton.Click Dim i As String = PhoneNumberTextBox.Text Dim one As Integer = i.Substring(0, 1) 'Remove each digit Dim two …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in phone number

    I don't see a question and you didn't bother to say what you want your code to do, but once I corrected your formatting (please use the **Code** tool to …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Upgraded editor

    I only noticed it for the first time yesterday. And, by the way, Joyeux Noel to all in the great land of Quebec.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why I sometimes hate ads

    >Ads might seems annoying but on the positive aspect. It is one way to gain profit in business industry. I agree that some ads are necessary and even a good …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in warm or cold?

    >Chicago is heading for a high of -18 Celsius! Luxury! We'e been having windchills of -40C. We've got the snow but we can't go skiiing.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in 100% CPU Usage problem on my console application

    I used to do quite a lot of work in vbScript (great for admin stuff and even a lot of unattended applications) so let me know if you need anything.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Marked Solved Status for Skip forward one month in calendar.

    Hello Guys, How would I have a button that when I click skips the calendar forward one month from the selected date? I'm a bit confused as there is no …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Does novels kill the mind?

    > I had to read this for a book report, I felt miserable reading it. That's how I felt when I read it in high school. I read it again …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Upgraded editor

    I'm getting unusual behaviour in the edit window. As I type, the edit window automatically grows, however, when it grows large enough for a scroll bar to appear, the control …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in 100% CPU Usage problem on my console application

    If you want to do the same without using AutoIt you can still do it with vbScript by do titles = GetTitles() if Contains(titles,"TextPad") Then wscript.Echo now, "TextPad is active" …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in 100% CPU Usage problem on my console application

    For that sort of stuff I use [AutoIt](https://www.autoitscript.com/site/autoit/). It's free and very scriptable. For example set aut = CreateObject("AutoItX3.Control") aut.AutoItSetOption "WinTitleMatchMode",2 while True if aut.WinExists("TextPad") Then wscript.echo "textpad is open" …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in 100% CPU Usage problem on my console application

    What are the command line arguments for running it? Also, it seems like an awful lot of code just to monitor a process.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why, Windows, Why?

    > the fact that only 1 of the 2 images is updated is the design flaw. It's not a bug. It's a feature designed to prevent a catastrophic corruption of …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in 100% CPU Usage problem on my console application

    I want to try running this locally but I am getting Type 'FreeMemory' us not defined Type 'EncryptDecrypt' is not defined Type 'BuildString' is not defined What version of vb.net …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in 100% CPU Usage problem on my console application

    For starters, the program won't compile because of If p.Id = CDbl(cid) Then The variable `cid` is not defined.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why, Windows, Why?

    I believe it is the exact opposite. It isn't until you shut sown that registry changes are committed to disk. That is why if you get a BSOD or just …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Seperate Window

    I've always felt that new posters should, for the first few posts, be presented with a pop-up such as **As a new poster we would like to remind you that …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Does novels kill the mind?

    My older son was always an avid reader. With him it was mostly books on science. He is now doing a post-doc in bio-physics. When my younger son was in …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Who is the better Joker?

    My vote goes to Heath Ledger. Jack Nicholson is limited by the fact the every character he portrays is basically just a slight variation of himself. Nicholson's Joker was more …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Marked Solved Status for Alienware M17xR4 (U3E1) Issues.

    I have recently been sent a Dell Alienware MX17 R4 from a friend/client who automatically installed the Windows 8.1 (64bit) update over his installed Windows 8.0 (64Bit) OS; which now …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why I sometimes hate ads

    Actually, I don't find DaniWeb intrusive at all. We have the option of blocking ads, and there are numerous methods (plugins) for blocking thse annoying popups on other sites. As …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why I sometimes hate ads

    Regarding attention span - I don't know if it's because of the increase in ADD (which I suspect is widely over-diagnosed, if it is even a real condition) but it …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in precision error

    1. What variable type are you using? 1. What other languages are you comparing to? 1. What variable types are you using in the other languages?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why I sometimes hate ads

    >if you were presented with 15 ads in a row..you'd probably be annoyed and you would change the channel. The channel provider wouldn't like that. That's not good business. I …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Seperate Window

    A lot of the forums have a "sticky" post with a title like **Please read this before posting**. The sticky posts remain at the top of the thread list. If …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to Trle94 in Writting strings

    I've come up with this: For Each a In "abcdefghijklmnopqrstuvwxyz".ToCharArray() objStreamWriter.WriteLine(a) For Each b In "abcdefghijklmnopqrstuvwxyz".ToCharArray() objStreamWriter.WriteLine(a + b) For Each c In "abcdefghijklmnopqrstuvwxyz".ToCharArray() objStreamWriter.WriteLine(a + b + c) Next …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Writting strings

    @Trie94 - the reasons I gave such a seemingly unhelpful answer are 1. I answered the question that was asked 1. The poster did not show that he/she had put …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Writting strings

    Yes.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in subtract query

    If you can do a join on the two tables then you can do the calculation in the query. Without knowing the structure of the tables (include a description of …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in retrieve data

    See [here](https://www.daniweb.com/software-development/vbnet/code/445801/use-parameterized-queries-to-avoid-sql-injection-attacks) for examples using SQLDb and OleDB.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in issue in Malti-threading vb.net

    You have to use a delegate to modify controls. It's not complicated and there is a [tutorial](https://www.daniweb.com/software-development/vbnet/tutorials/477520/how-to-use-backgroundworker-to-create-threads) on how to use BackGround threads which includes a discussion of delegates. Once …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited issue in Malti-threading vb.net

    im trying to make a simple example in threading this error msg can anyone help me to solve it ? Cross-thread operation not valid: Control 'cmb1' accessed from a thread …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in add from list to combobox vb.net

    Try cmb1.DataSource = IntList
  • Member Avatar for Reverend Jim
    Reverend Jim

    Marked Solved Status for iterate each list and select randomly

    i couldn't edit my previous post or can't delete. so i open new. sorry again i have two text file one is a.txt and another is b.txt content of a.txt …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Alienware M17xR4 (U3E1) Issues.

    Here's something you might want to try as a last resort. Download and create a GPartEd LiveCD. Boot from that. In GPartED, make note of the current flags on the …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in iterate each list and select randomly

    >'after one times execute for loop i want to exit here. this meaning is if not exit For loop it will be continue looping so after one times execute i …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Alienware M17xR4 (U3E1) Issues.

    By the way, have you tried actually booting from the recovery disks you mentioned in your other thread?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Alienware M17xR4 (U3E1) Issues.

    If the recovery disks are no longer readable, or the user did not make a set of recovery disks (the nags are there for a reason) you should still be …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Duplicate notifications

    I just checked my **Sent** folder and the headers **were** included. At least the headers I see in Outlook when I select **View Header**. It sounds like James got the …

The End.