Create Splash Screen....
-
ok splash screens are easy on the form that serves as the splash screen, put a timer control, then turn enabled to true in the properties, and the interval to whatever you want. 1000=1sec.double click on the timer control and enter me.close Me tells the program that it is only dealing with that one form and close closes the form. If you use End it will close the whole program. BINARY
-
Search the articles for "Splash Screen" and you'll find a bunch of examples of how to do it the "right way". RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
ok splash screens are easy on the form that serves as the splash screen, put a timer control, then turn enabled to true in the properties, and the interval to whatever you want. 1000=1sec.double click on the timer control and enter me.close Me tells the program that it is only dealing with that one form and close closes the form. If you use End it will close the whole program. BINARY
In VB.NET if u close first screen even with ME.Close() it closes all other forms. I.e if i open main from from splash screen then it will close that form also....
-
In VB.NET if u close first screen even with ME.Close() it closes all other forms. I.e if i open main from from splash screen then it will close that form also....
set it up with the timer on the splash screen, then create a module with something like this
Module Startup Public Sub Main() Dim frmSplash As New frmSplash Dim frmMain As New frmMain frmSplash.ShowDialog() frmMain.ShowDialog() End Sub End Module
make sure that in the timers tick event you put me.close, oh and change the startup object to SubMain and everthing should be fine. BINARY