-
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. :confused:
Any help would be appreciated.
-
NM Fixed It Myself :) Thx Anyhow.
-
...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.