Hi i am new in vb.net , i have this txt fiel that i have to validate to make sure that the content on it is correct
the content of the file looks like this one:
500\502
500\502\1
500\502\1\1
500\502\2
500\502\3
500\502\4
what i have to do is to write a code that will validate and test if the sequence in txt file is correct, for example if the txt file contains a wrong sequence a message should be shown:
500\502
500\502\1\1
500\502\2
500\502\3
500\502\4

any help will be appriciated a lot
thanx in advance

If all you have to do is validate each line of text, the System.IO.StreamReader class would be my choice. Just read in each line and do any validation you need to do. Splitting each line by the '\' could make things easier depending on what kind of validation you need to do.