vb.net - How to open a new form but closing the old one in VB -


i have welcome application loads up, need have form close , login form open when continue button hit.

my code:

    me.close()     dim login new form     login.show() 

when click button closes welcome form , ends application. if can thanks! :)

you can set properties of project select "when last form closes" in shutdown mode dropdown

update:-

"project" menu -> 'yourapp' properties... -> application tab

find : "shutdown mode"

change

"when startup form closes" --> "when last form closes"


Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -