A
Adam Honek
Hello,
I have an app that starts in sub main()
I am making a new instance of a form so it can be displayed. It compiles
fine but when
the program is run the form shows up but then a split second later closes
itself.
Why is this?
Code below:
Public Sub main()
Dim MyNewForm As New AccountsForm
MyNewForm .Show()
End Sub
Thanks,
Adam
I have an app that starts in sub main()
I am making a new instance of a form so it can be displayed. It compiles
fine but when
the program is run the form shows up but then a split second later closes
itself.
Why is this?
Code below:
Public Sub main()
Dim MyNewForm As New AccountsForm
MyNewForm .Show()
End Sub
Thanks,
Adam