I have a task I am trying to complete, but cant think how to approach it.
Here is the example:
I have a text file with preferences in it. I read the file and find text on a particular line like this:
If InStr(sLine, "avidDirectory") Then
This is my line in the text file:
avidDirectory "S:\Avid MediaFiles\" "D:\Avid MediaFiles\" "Z:\Avid MediaFiles\"
What I need to do is read each string between the quoations marks and place each one in a text box.
I have 5 texts boxes to use if there are 5 different directories above (only three in the example above)
So I guess I need to capture the text between the quotation marks, create a new string from it, and place that string into a text box
ie;
string 1 = textbox1.txt
etc
How would I approach this?
Thanks.
Create a new Windows application and add a button and five text boxes to the form you will be started with and replace the code of the form with this code