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

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -