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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using timer on a splash screen

Status
Not open for further replies.

casesoftware

Programmer
Joined
Jul 5, 2006
Messages
3
Location
TR
i am trying to create an application and there is a splash screen already created by myself. But when the splash screen is loaded i want to time it so as to load the subseqent form automatically.

though i guest i can use the timer tool but i've tried it and there was no result probaly i did not get the coding well, pls assist me.

 
Welcome to Tek-Tips. Please read faq222-2244 to find out how to get the best from these forums.

In this case, show us what you've got at present

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Are you sure the timer is enabled? It isn't by default.
 
A slightly different approach is to control loading and unloading the flash form from somewhere else rather than doing so from within the flash form itself. Make "Sub Main" your startup routine and then something like
Code:
Sub Main()

frmFlash.Show

[COLOR=black cyan]' Do some initialization stuff[/color]

frmMain.Show
frmMain.ZOrder 0

frmFlash.Unload

End Sub
That way the flash form disappears when you are ready to start the main form rather than relying on some timed process that may be either too long (or not long enough) for your requirements.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top