code below use to extract data from file(data.txt).now,i need to write the value strLatitude,strLongitude,strDepthto a new file and save it. How to write the code?
VB Code:
private Sub readFile()
Dim blnStartReading1 As Boolean, blnStartReading2 As Boolean
do you need to write to the file as you are opening it throughout the loop, or do you just need to save the final value that strLat, strLong and strDepth has?
do you need to write to the file as you are opening it throughout the loop, or do you just need to save the final value that strLat, strLong and strDepth has?
i need to write from opening it throughout the loop.
You have to tell us why you don't want those values before we can help you. Is it that you don't want anything with the first number less than 100?
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read. Please Help Us To Save Ana
You have to tell us why you don't want those values before we can help you. Is it that you don't want anything with the first number less than 100?
i hv a set of data which open with
START ......
100.81888000 3.85663000
......
STOP
i just need the value inside the
START 43, L, 174=0;133=300000
100.81888000 3.85663000
100.81778000 3.85625000
100.80883000 3.85519000
STOP
this means when have the 174=XXX after the START......, then i want to change it to format like this
100.81888000 3.85663000 174=0
100.81778000 3.85625000 174=0
100.80883000 3.85519000 174=0