Hi,
I have a question for you. I have a dne text file.( file will be in the test server) I need to read that file and store it in a database. In this I have to read line if that line starts with “6”. Other wise leave it. For example in that dne file if the line starts with 6 then read that line and if second line starts with 7 then don’t read it. leave that line. And if third with 6 again read that line.
If the line starts with 6, then I don’t want to read entire line.
I want to read from position 04-11 as rtn number (length = 8)
I want to read from position 13-29 as act number (length= 17)
I want to read from position 30-39 as amt (length= 10)
I want to read from position 55-76 as name (length= 22)
After that assign that to record set and store it in database. This should do until end of file.
Can anyone provide me the code how to do that in vb6?