-
Hey,
i have a program, and i saved MANY lines to a file..
All i need now, is to open the file to where it needs to go..
I need a way, to open a file and Get a certain line out of it, and place that line into the place i want it to go..
EXAMPLE:
Hey There
Yo
What up
Get the 1st line of the Text file, ("Hey There") and put it into Text1.text (or anywhere else i want)
Or it could be line 100, or 30 ..ect
THANKS! (BTW: someone told me a way of using a listbox, but i want a better way (without using too many controls)
-
You could try looping through it line by line until you get to the one you want. The problem with text files is that there's no way to quickly bypass a set of characters.