Question : How can I close a splash screen during the main form's Load event?

I have an application that performs a series of tests during the main form Load event. I want to display error messages when a test fails, but the problem I am having is that the splash screen is rendered on top of the message box, and I cant close the splash screen because I dont have access to the splash screen object (I think windows creates it in a different threat).
Is there anything I can do to allow me to close the splash screen before the main form is finished loading? Alternativaly, is there anything I can do to render messageboxes on top of the splash screen?

Answer : How can I close a splash screen during the main form's Load event?

*I'm running VS2010 so there are slight differences...

Try this instead:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
Public Class FSplashScreen

    Public Delegate Sub CloseDelegate()

    Public Sub CloseIt()
        Me.Invoke(New CloseDelegate(AddressOf CloseSplash), New Object() {})
    End Sub

    Private Sub CloseSplash()
        Me.Close()
    End Sub

End Class
Random Solutions  
 
programming4us programming4us