- Sep 17, 2007
- 4
- 0
- 0
Hi, I'm trying to make a viewer to read some data off a text file. The data looks like this:
10011009082007WEST xxxxxxxxx xxxxxxxxxxxxx
10020100702007EAST xxxxxxxxx xxxxxxxxxxxxx
So there is no delimiters here. I have to compare these data to a "specification sheet" which tells me what the first 6 digit mean and then extract the data from specific field of that line. So far I tried reading this line by line in vb6 but then I donno how to make it read the first 6 digits and then compare it to the specification sheet(its on paper) and extract data from the specified fields. Can anyone tell me an efficent way to do this in vb6? I'm an vb noob >_<
Edit* btw I want to output this to another text file TY
10011009082007WEST xxxxxxxxx xxxxxxxxxxxxx
10020100702007EAST xxxxxxxxx xxxxxxxxxxxxx
So there is no delimiters here. I have to compare these data to a "specification sheet" which tells me what the first 6 digit mean and then extract the data from specific field of that line. So far I tried reading this line by line in vb6 but then I donno how to make it read the first 6 digits and then compare it to the specification sheet(its on paper) and extract data from the specified fields. Can anyone tell me an efficent way to do this in vb6? I'm an vb noob >_<
Edit* btw I want to output this to another text file TY
