Display form before main form

  • Thread starter Thread starter googlinggoogler
  • Start date Start date
G

googlinggoogler

Hi,

I would like to display a form (to add registration information) before
the main form loads obviously I would like to place this inside an IF
statement as I dont need to register every single time the program is
started.

I do not want the main form to be seen prior to sucessfu completion of
the registration form.

Can anyone suggest a method to do this? and can anyone tell me what I
need to look for on google to find the relevant information?

I believe its called a splash screen, but havent been able to find out
how to do this with VB.net

Yours gratefully

David
 
Hi,

I would like to display a form (to add registration information) before
the main form loads obviously I would like to place this inside an IF
statement as I dont need to register every single time the program is
started.

I do not want the main form to be seen prior to sucessfu completion of
the registration form.

Can anyone suggest a method to do this? and can anyone tell me what I
need to look for on google to find the relevant information?

I believe its called a splash screen, but havent been able to find out
how to do this with VB.net

Yours gratefully

David

Change your startup to a sub main. Then make a module and in it put sub
main.

Sub Main()
dim Splash as new SplashScreen
if Splash.ShowDialog = DialogResult.Ok then
dim Main as new MainScreen
Main.Showdialog
end if
end sub

End Sub
 
Thanks!

Can you recommend a project I can download and dissect to help me gain
a better understanding as I am relativly new to VB

cheers

David
 
Back
Top