How to close main form i. e login form after login and it should not close application
harsh01ajmera 0 Newbie Poster
Recommended Answers
Jump to PostHi harsh01ajmera,
Go to the menubar and select -> project -> Call function -> change Shutdown mode into: When last form closes.
That means that you can close your login form without closing your application.
Jump to PostCheck out this way by using DialogResult (and passing data between forms or classes):
'PROGRAM class Class Program ''' <summary> ''' The main entry point for the application. ''' </summary> <STAThread()> _ Private Shared Sub Main() Application.EnableVisualStyles Application.SetCompatibleTextRenderingDefault(false) Dim loginData As String = "" Dim l As …
All 7 Replies
poojavb 29 Junior Poster
Luc001 77 Posting Whiz
Mitja Bonca 557 Nearly a Posting Maven
GodOfCode 0 Newbie Poster
GodOfCode 0 Newbie Poster
samsylvestertty 12 Newbie Poster
Varun_9 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.