Read part of file...
Posted on 2003-11-16
I need some VB code to read only part of a file, it's been a while since I worked with VB but I know it can be done, just don't know how anymore.
Example, I know the last time I imported a file it was 77,600 kb upon current import I know the file is 78,777 kb so I know I only want to read the difference ie. 1,177 kb
How to read the 1,177 kb last part of a file in VB?
FYI: I will be using this in a DTS package.
Then how to loop over this 1,177 kb of data within the DTS package? I need to do the following comparison for each line
IF LEFT(currentRow, 3) IS "***"
Then do something here
Just import the row.