suoirotciv
Programmer
Sorry, but i cant find a forum regarding this problem.
"How can I count the total number of lines in a text file?"
I need to read a log file, and upload it in a mdb file using visual basic. i already done this uploading codes. but my actual problem is that there are to many records in a log file that when i run my system, it seems to look hung, but actually no. so what i want to do is to add a progress bar that shows the actual progress, but i cant set the progressbar1.max property, coz i dont know the total number of lines.
can anyone help me on this
Please pardon the grammar.
Not good in english.
"How can I count the total number of lines in a text file?"
I need to read a log file, and upload it in a mdb file using visual basic. i already done this uploading codes. but my actual problem is that there are to many records in a log file that when i run my system, it seems to look hung, but actually no. so what i want to do is to add a progress bar that shows the actual progress, but i cant set the progressbar1.max property, coz i dont know the total number of lines.
can anyone help me on this
Please pardon the grammar.
Not good in english.