Howto control one form class from another?

Hi there!
Well i am writing an application, in which a splash screen appears at app startup. but the problem is that when e.g. from a SUB MAIN() i execute the lines:
Sub Main()
    dim splash as new form1
    dim mainform as new form2
    splash.show
    main.show
End Sub

when this Subroutine ends the whole application ends.
please tell me how can i show and close the splash screen at the startup of application.


Answer this question

Howto control one form class from another?