|
-
April 10th, 2001, 08:17 AM
#1
VB5 Question
I'm working on a program for work that compresses and backup files on the local drive. It runs fine; but it doesn't seem to want to refresh the main window (i.e. to fill up the main progress bar) Auto=Redraw is set to true; and i've got a frmMain.refresh command each time the progress/status bar is updated. I can step through it; and the numbers and values of the bars DO update; but the flonquing screen STILL doesn't refresh.
Any help would be appreciated.
-
April 10th, 2001, 03:10 PM
#2
NM Fixed It Myself Thx Anyhow.
-
April 19th, 2001, 03:24 AM
#3
...any pointers as to what your solution was for other users?
My guess was that your procedure was happening so fast that the screen didn't have time to update.
A good trick here is to force the form to refresh using the .Refresh method of the form, rather than the item itself.
You may also find that putting in a DoEvents call may also help - this yields some processing power to other threads working on the machine, like the system process which will redraw the form.
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
|
|
Bookmarks