I've got a program that I start from a module.
I set the startup object to Sub Main()
When I call the form, it shows the form for a split second and exits the program.
Module1
Dim myForm as new formMain
Sub Main()
myForm.show()
End Sub
If I do it this way, then it works, but I want to call a sub on the form and not the form itself, like myForm.StartMe()
This USED to open the form and run the procedure on the form.
Why can't I keep this program running?
I set the startup object to Sub Main()
When I call the form, it shows the form for a split second and exits the program.
Module1
Dim myForm as new formMain
Sub Main()
myForm.show()
End Sub
If I do it this way, then it works, but I want to call a sub on the form and not the form itself, like myForm.StartMe()
This USED to open the form and run the procedure on the form.
Why can't I keep this program running?