hello.i have a text file in which the names of the sutdents occur at various places .there is the text written "names" and then the name of one student follows it.similarlly at another place this text "Names" comes with the name of the student followed.i want to fetch the name of the student one by one i.e. first name is to be fetched then i have to do some commands then after that commands i have to fetch another name and do the same commands.....like this i have to continue....my problem is that how to fetch the name of the student one by one and put them in the text box that is placed in the vb6 form.please help in details as i mm not much familiar with file reading in vb6.
+1
A:
How to read a text file line by line: http://www.dreamincode.net/code/snippet318.htm
Look at using InStr to find a value in the string read in. http://www.aivosto.com/vbtips/instr.html
jasonk
2010-02-16 15:05:07