Hi
I have to take data from many files with names like: filename001.txt filename002.txt filename 003.txt and so on, up to more than hundred, like filename158.txt..
I divided the filename in three parts. Part 1: "filename" Part 2:(in to three integers (n1 n2 and n3 as Integers) and Part 3: ".txt"
The first filename starts with 000, then 001 aso.. If there is a filename with 000, then EXTRACT data from it, delete the file and then check for next file(filename001.txt).. and so on..
If there is NO filename000.txt then stop.
But please help me to make the code for doing this in a smart/easy way.
I use
VB Express 2005, and the streamReader to open files..
Thanks.
Rafter
I am a NEWBIE coder!
Rafter