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 PostIf login is ur startup form u cannot close it else ur application will be closed...
set the form as hide or visible false before showing the other form....
and then show ur main form
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.