|
-
Jul 13th, 2001, 08:16 AM
#1
Thread Starter
Hyperactive Member
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 ..
-
Jul 13th, 2001, 08:18 AM
#2
Fanatic Member
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?
-
Jul 13th, 2001, 08:19 AM
#3
Thread Starter
Hyperactive Member
I am reading it line by line
-
Jul 13th, 2001, 10:55 AM
#4
Lively Member
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.
-
Jul 13th, 2001, 01:42 PM
#5
Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|