Hello, I am a beginner in VB and programming in general and have been reading many forums that have not helped very much. Here is my problem:
I have a text file (C:\Documents and Settings\Walid\Desktop\September\200009\20000917.t xt) that looks like this:
Time,DET#,VOL,OCC,Date 2000 09 17,
00:00:00,2,3,4,
6:00:00,200,32,42,
9:00:00,2,3,4,
...
I would like to change the top line to: Time,DET#,VOL,OCC,Date of:,Type,
and I would like to change all the other lines to:
00:00:00,2,3,4, 2000 09 17,c,
6:00:00,200,32,42, 2000 09 17,c,
9:00:00,2,3,4, 2000 09 17,c,
...
There are many other similar text files but I can figure out how to loop it myself. I am new at VB, so if you could keep your code simple and comment that would be much appreciated.
I have a text file (C:\Documents and Settings\Walid\Desktop\September\200009\20000917.t xt) that looks like this:
Time,DET#,VOL,OCC,Date 2000 09 17,
00:00:00,2,3,4,
6:00:00,200,32,42,
9:00:00,2,3,4,
...
I would like to change the top line to: Time,DET#,VOL,OCC,Date of:,Type,
and I would like to change all the other lines to:
00:00:00,2,3,4, 2000 09 17,c,
6:00:00,200,32,42, 2000 09 17,c,
9:00:00,2,3,4, 2000 09 17,c,
...
There are many other similar text files but I can figure out how to loop it myself. I am new at VB, so if you could keep your code simple and comment that would be much appreciated.