Hi All,

I hope someone can help me I have a CSV file that comes from a DOS application (3rd party) and it output data as a CSV files so that is Fine but my problem is the file holds differnt lengths of rows For example


ADD,5018374320766,VALUE ORANGE JUICE, 0001,,035
DELETE,50201600
DEPT_ADD,0002,GROCERY,O,A


So how do i read this in so I can process the files (ideal I would like to use native code that i can covert backward for VB6)

Any infor or sample code would be most welcomed as I have been looking at this now for a month and I can read the first line in with no problem but the second and third line loads into the fields