-
[b] How do I use a progress-bar while a form i loading [/]
In my programm there are two froms:
Form1: The progress-bar
Form2: Has only a very large bitmap (22 MB) in it.
With the method I use, the progress-bar stopps when the
second form is loading.
Is there a possibility, that the progress-bar doesn't stop
while the second formm is loding ???
Thanks for some advice, Matt-D(eutschland) ;)
THX
-
Why do you need a 22MB bitmap - can't you reduce the dpi, colours or size (using something like Paintshop Pro ?)
I don't think you will be able to display a progress bar during a form load because VB is concentrating on loading the form and no other code is being executed.
The other solution would be to write your own bitmap reading function that loads the bitmap in whilst drawing a progress bar. But I would seriously look at the size of the bitmap...
-
Buzby, you can exectute vb-code even if other code is working.....
use the SETTIMER and KILLTIMER API, set the callback address to a sub in you're modul... and *ehk* even if a sub or function is in progress, the callback sub will be executed :)
hope that helps,
taLON