-
Process indicator
HI ,
How can i put a process indicator on my project... this program is supposed to read from a text file and the compare it to the database reocrds .. The text file is very large to it takes a lot of time ... and the program seeme to stop until the whole file is processed ..
-
Are you reading this file in line by line? Or field by field? Or Line by Line then Field by field when the line is in memory?
-
I am reading it line by line
-
First, you'd want to determine how big the file is. Than, you can determine how much of the file is being processed. I once made a progress bar with a command button (so you don't need an .OCX) that I can post if you'd like. Also, have you tried putting DoEvents in your program? That will help take care of the program locking up when it's running.
-
Well, it would not lock up the computer. You'd have to multithread to register other mouseclicks and stuff. DoEvents doesn't do that, I think, it justs hands some processor time to the system.