By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,579 Members | 1,794 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,579 IT Pros & Developers. It's quick & easy.

Progress bar - No activity

P: n/a
adh
During project loading I display a splash (welcome) form with a progress
bar triggered by a timer (on this form). The loading of the project and
data, is done Not by this form, but by a hidden Main form which, at the
end unloads the splash form and shows itselve.
The problem is that both the progress bar and even a gif file are
freezed and not showing any life. Only at the second when I close the
splash form it shows something before vading away.

How do I make everything move on screen?
Thanks, adh

*** Sent via Developersdex http://www.developersdex.com ***
Feb 19 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
How are you showing the splash screen?

Are you using 'ShowDialog()'? If so, change it to 'Show()' & see if that
corrects it

Crouchie1998
BA (HONS) MCP MCSE
Feb 19 '06 #2

P: n/a
Hello, adh,

I suspect that you may need to put a few strategically placed
Application.DoEvents within the code of the hidden main form that is
doing the loading.

Cheers,
Randy
adh wrote:
During project loading I display a splash (welcome) form with a progress
bar triggered by a timer (on this form). The loading of the project and
data, is done Not by this form, but by a hidden Main form which, at the
end unloads the splash form and shows itselve.
The problem is that both the progress bar and even a gif file are
freezed and not showing any life. Only at the second when I close the
splash form it shows something before vading away.

How do I make everything move on screen?
Thanks, adh

*** Sent via Developersdex http://www.developersdex.com ***

Feb 19 '06 #3

P: n/a
I need code to help.

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com

"adh" <ad*@devx.com> wrote in message
news:u2**************@TK2MSFTNGP11.phx.gbl...
During project loading I display a splash (welcome) form with a progress
bar triggered by a timer (on this form). The loading of the project and
data, is done Not by this form, but by a hidden Main form which, at the
end unloads the splash form and shows itselve.
The problem is that both the progress bar and even a gif file are
freezed and not showing any life. Only at the second when I close the
splash form it shows something before vading away.

How do I make everything move on screen?
Thanks, adh

*** Sent via Developersdex http://www.developersdex.com ***

Feb 19 '06 #4

P: n/a
ADH,

Why are you making it yourself so difficult.
Why not use two panels. Docked to full.

Make visable (and not visable the other) the one with your progressbar while
loading (and do that than in the same time as your activities in the
activated event with a static boolean switch, to be sure to do it once).

If that is ready you can make visable your actual panel. In my idea gives
that the same effect as you are now telling however with much less work (and
trouble).

I hope this helps,

Cor

Feb 20 '06 #5

P: n/a
ADH,

Because that I saw more question of this have I made a sample and put on our
site.

It is brand new, you can try it.

http://www.vb-tips.com/default.aspx?...f-cfc96c6ca913

I hope this helps,

Cor

"adh" <ad*@devx.com> schreef in bericht
news:u2**************@TK2MSFTNGP11.phx.gbl...
During project loading I display a splash (welcome) form with a progress
bar triggered by a timer (on this form). The loading of the project and
data, is done Not by this form, but by a hidden Main form which, at the
end unloads the splash form and shows itselve.
The problem is that both the progress bar and even a gif file are
freezed and not showing any life. Only at the second when I close the
splash form it shows something before vading away.

How do I make everything move on screen?
Thanks, adh

*** Sent via Developersdex http://www.developersdex.com ***

Feb 21 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.