Help,
I am a new to the .net environment and I am hoping to move more into this new world. But, I am struggling with a, I'm sure, a simple problem. When I run the following code.
Module main
'Set DB Connection Info
Public dbServer As String = "tempDB"
Public dbName As String = "namedb"
Sub main()
Dim loginForm As New frmLogin()
loginForm.Show()
End Sub
End Module
This program displays the form for about a second and then it closes. Why?
Thanks so much in advance!
Thom
I am a new to the .net environment and I am hoping to move more into this new world. But, I am struggling with a, I'm sure, a simple problem. When I run the following code.
Module main
'Set DB Connection Info
Public dbServer As String = "tempDB"
Public dbName As String = "namedb"
Sub main()
Dim loginForm As New frmLogin()
loginForm.Show()
End Sub
End Module
This program displays the form for about a second and then it closes. Why?
Thanks so much in advance!
Thom