vb.net input past end of file when importing CSV -


i using vb.net import csv file , using eof

while not eof(1)     input(1, csv_month) end while 

the csv files import have line or 2 lines blank @ end of file , error when gets end file saying input past end of file , breaks application

use textfieldparser instead. input() , eof() more little obsolete.


Comments

Popular posts from this blog

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

matlab - error with cyclic autocorrelation function -

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -