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.

Howto control one form class from another?
stan_gamla
take a look at this tutorial:
http://www.developerfusion.com/show/47/
and here in c#:
http://www.codeproject.com/csharp/PrettyGoodSplashScreen.asp
Hope thats what you are looking for.
ZACK2K6
Change the main.Show line to read:
Application.Run(main)
You may be also interested in checking out my blog post on this:
http://davidkean.net/archive/2005/02/05/291.aspx