Results 1 to 5 of 5

Thread: Process indicator

  1. #1

    Thread Starter
    Hyperactive Member fasi's Avatar
    Join Date
    Nov 2000
    Posts
    474

    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 ..

  2. #2
    Fanatic Member ExcalibursZone's Avatar
    Join Date
    Feb 2000
    Location
    Western NY State
    Posts
    908
    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?
    -Excalibur

  3. #3

    Thread Starter
    Hyperactive Member fasi's Avatar
    Join Date
    Nov 2000
    Posts
    474
    I am reading it line by line

  4. #4
    Lively Member
    Join Date
    Apr 2001
    Posts
    64
    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.

  5. #5
    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
  •  



Click Here to Expand Forum to Full Width