|
-
Oct 15th, 2003, 02:25 PM
#1
Thread Starter
Lively Member
Multiple instances of a form
OK, I don't get it.
I have a main form which is originally loaded via a subMain using Application.Run(New frmMain()) at the start of my app. Button1 on frmMain opens a second form(Form4). On a click event of Form4 I need to close Form4 and go back to frmMain. Currently on the click event of Form4 another instance of frmMain opens because I also placed:
Dim frmMain As New frmMain()
frmMain.Show()
in the click event. I know that's not right & it causes my problem, but how do I get around this? How do I bring up only one instance of frmMain?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|