Assuming you know what to do with each 'bit' of the incoming data, you could 'split' each line on the comma as you read it in e.g. you read in 'ADD,5018374320766,VALUE ORANGE JUICE, 0001,,035' ,"," and put into a string variable called 'Line'
This will put 'ADD' in bits(0), 5018374320766 in bits(1) and so on....and DELETE in bits(0) 50201600 in bits(1) on the next read.Code:dim bits() as string = split(Line ,",")




Reply With Quote
