|
-
Dec 8th, 2004, 06:26 AM
#1
Thread Starter
Lively Member
Startup Object
Hello Everybody,
Why is that some of my form will be included in the startup object, pls help
thank you
-
Dec 8th, 2004, 07:06 AM
#2
Re: Startup Object
What? 
Use more words to explain your problem.
-
Dec 8th, 2004, 07:29 AM
#3
PowerPoster
Re: Startup Object
 Originally Posted by aming
Hello Everybody,
Why is that some of my form will be included in the startup object, pls help
thank you
After looking into my Crystal ball
When you are designing your project you can choose how it will start.
If you select a form as the startup object, then that form will run in accordance with your code.
If you select Sub Main as the startup object, you will have to write a Sub main procedure, normally in a Module. In that case you have to create the instance of the form you want to run first. Assuming you designed your first form as fclsMain.vb then you use
Public frmmain As New fclsmain
Public Sub Main()
Application.Run(frmMain)
End Sub
Hope that's what you wanted.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
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
|