First of all let me say sorry for asking such a lot here. Basically my VB skills are very rusty as I haven't had to touch it for a year or two. Now that I am getting back into it I am finding it a little difficult.
In the source code provided, I was wondering if someone could help me add a few features I have been trying to get right. I am not asking you complete the program to the ground (well I guess pretty close), but to get the major parts done. You don't really have to code it in, just point me in the right direction.
Here's what I want:
cmdSearch:
Search the text file until it finds a line with jobnum.text in it. If it does, load the line into an array, and put [0] (job number?) into job jumber text (or leave it here from search). [1] into lblposessor. [2] into lbllastupdated. [3] lblcomments.
cmdUpdate:
Search the text file until it finds a line with newjobnumber.text in it. Once it does, write job number, currently in posession of and comments IN THE SAME FORMAT that could be read from the 'search' button.
If it cannot find a line with newjobnumber.text in it, it creates a new line.
------
Can anyone help me out?
Thanks guys, I know this might be a pain. Perhaps I will get back into VB
Did you look at our VB FAQ section yet? I'm sure you'd find it very helpfull.
As far as working with files there are few tutorials that will teach how to do what you asked.