Daniel, you should do it like this (probably the best way for splashing a
form):
1- Use a separate module for starting your application like this :
Public Module Entery
Public Sub Main()
Dim frm1 As New SplashForm
frm1.Show()
Threading.Thread.Sleep(5000)
frm1.Close()
Application.Run(New Form1)
End Sub
End Module
2- And "SplashForm" is the form you want to splash before the main form (
Form1).
3- Don't forget to set the project start up object to "Sub Main".
-----
hope this help
"Daniel Kaseman" <da*@cfaith.com> wrote in message
news:en**************@tk2msftngp13.phx.gbl...
I'm trying to display a stratup screen, and then after 5 seconds, unload
the
startup screen from memory, then show the main form.
It just flashes the main form for a fraction of a second, then when the
splash screen closes (me.close) the program closes. It should load the
main
screen.