I have a main form in my app with the following code at the start of its Load event:
Me.Visible = False
Dim frmSplash As New frmSplash
The idea is that this will render my main form invisible then open my splash screen form. The splash screen form then opens a network connection using its Load event and then sets the main form as visible again and closes itself.
The only problem is that the main form won't set itself as invisible for long. It appears as invisible then the splash screen form opens and the main form makes itself visible again even if I dont included the code in the splash screen form to make it visible again.
Can anyone let me know why its doing this and how I can sort it out?