My app has an splash screen, when the user writes his name it shows the main form, but i want to close or unload the splash screen after that, if i use the Close method, it doesn't even appear the main form, and must show the main form before it closes.
I can only achieve this by changing the visibility value, what can i do

Unload splash screen
Joel Martinez
Yes, the splash screen is the initial form, i'll set the visible property to false
Thanks for the tip
Sarosh79
when you close the splash screen form, if its your initial form, then it will close the application. Best thing you can do is probably set the visible property to false or hide the form:
Me.Hide()
alternatively you could make your main form (non splash) your startup form, then on the form_load event call the splash screen and hide your main form, after a delay then close that splash screen form and finally show your main form.
choic(es) are yours