Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Splash screen and loading forms

Status
Not open for further replies.

RadioX

IS-IT--Management
May 15, 2001
145
US
I have forgot how to do some of the simplest things these days...Need to get out of the web and back into some VB apps for a while :)

I want to load a splash screen then after like 5 seconds load my menu form.

From there the user will be able to click a button such as Employees and it should unload the menu and load the form employees. When I click the the exit button on the employees form it should load the menu form and unload the employee form.

Thanks for your help
Ron
 
Okay to make a splash screen click add form .. Splash Screen.

For the button thing...

employees_click
main.hide ' this gets rid of the main.
employees.show ' this will show the employess
end sub

You just reverse that to go back, note the code won't work but its just an example.
 
Ok I did the form add splash screen it adds it but when I run my program I get no splash screen. Just the original form that I fist made (i have since then added others) including the splash. I must be missing something here. It is late too :)

Thanks
Ron
 
Whats the first form your loading? Either set your splash screen m to load up in your vb project properties, startup object.

Or if using a Sub Main have Splash.Show
 
O yeah sorry I meant to tell u to tell u to set a start up.
 
I'm new at this, but I have made a standard form for a splash screen and put a timer control on it. Under the timer control after setting the time I just put the Unload Me command.

Don't laugh now
Every day above ground is a GOOD DAY!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top