Hello Everybody,
Why is that some of my form will be included in the startup object, pls help
thank you
Printable View
Hello Everybody,
Why is that some of my form will be included in the startup object, pls help
thank you
What? :ehh:
Use more words to explain your problem.
After looking into my Crystal ball :rolleyes:Quote:
Originally Posted by aming
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.