|
-
Jul 21st, 2003, 03:53 PM
#1
Thread Starter
Addicted Member
Start up with Sub Main()
In VB6, I like to use my application start in Sub Main. I declare all forms in sub main and start my application with frmMain.Show. But in VB.NET I cannot do like this. After I run my application, it was opened and closed immediately. I don't understand why it was like that. Is it good to do this way, I mean declare all forms in module and start with MainForm.Show() in Sub Main()?
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
|