Splash Screen

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I'm starting to program in Visual Studio 2005 and I noticed that there is a
property to set the application splash screen. However it seems to me that
this property is quite limitative. Imagine I want a splash screen where I can
show to user what I'm, doing. For example, loading information from DB,
creating menus, etc. I've got no control over this splash screen.
Is there anybody with the same question?

Forgive me if this isn't the correct forum to post this question.
 
Rui said:
Hello,

I'm starting to program in Visual Studio 2005 and I noticed that there is a
property to set the application splash screen. However it seems to me that
this property is quite limitative. Imagine I want a splash screen where I can
show to user what I'm, doing. For example, loading information from DB,
creating menus, etc. I've got no control over this splash screen.
Is there anybody with the same question?

Forgive me if this isn't the correct forum to post this question.

You will need to create your own form to do this. There are lots of
examples out there to do it.

Chris
 
Rui,

Use a form which you open with showdialog if you want the action in the
splash

\\\
dim mysplash as form2
mysplash showdialog
mysplasy.dispose
///

Otherwise

\\\
dim myform as form2
form2.show
do until myprocedureReady = true
if x = whatever then myprocedure = true
'do your stuff
loop
form2.close
////

I hope this helps,

Cor
 
I create an ApplicationContext class object 'theContext', open main
form show it (I do not put a lot of stuff in Load event), open splash
form, show it, set 'theContext' object mainform property to the main
form, then call application.run(theContext). You then can set a timer
in splash from to have splash close its self, OR if you have lots of
startup stuff to do, you close the splash form on the first application
idle event. To hook the Application Idle event, use
System.Windows.Forms.Application import, and it exposes the "Idle"
event.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top