Nickerzzzzz
IS-IT--Management
Hi All
Can anyone give me direction or better still give me a piece of code that will read the contents of a csv file into a file created in VB e.g. a .dat file.
I have a corrupt .dat file containing the following example data...
2 12 20 33 35 45
15 33 39 40 45 48
I have the full set of records in csv/xls format and need to get it back into the .dat file format so the VB program can read All records again.
I have the option in the program to manually input the data a record at a time but this would take a while.
I wrote the program some time ago and have been adding data manually for some time, and now I have this file corruption! so if possible I want to re-add all the data in one go, I am well out of touch with VB code so need a few pointers to get me back into it.
Thanks in advance
Nick (erzzzzz)
Can anyone give me direction or better still give me a piece of code that will read the contents of a csv file into a file created in VB e.g. a .dat file.
I have a corrupt .dat file containing the following example data...
2 12 20 33 35 45
15 33 39 40 45 48
I have the full set of records in csv/xls format and need to get it back into the .dat file format so the VB program can read All records again.
I have the option in the program to manually input the data a record at a time but this would take a while.
I wrote the program some time ago and have been adding data manually for some time, and now I have this file corruption! so if possible I want to re-add all the data in one go, I am well out of touch with VB code so need a few pointers to get me back into it.
Thanks in advance
Nick (erzzzzz)