G
Guest
I have an in house application which uses 3 different version of the same
database. When application starts a form is displayed which allows user to
provide the path to the database. My problem is I want this form to open on
top of main form. At present the main form doesn’t appears until user press
OK or Cancel on the form where they provide the data path.
I have used Sub Main as startup object as follows
Sub main()
Dim frm As New frmMain
frm.ShowDialog()
End Sub
And called the other on Form Load event of main form as follow
Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim frm As New frmSetDatabasePath
frm.ShowDialog(Me)
End Sub
How can I fix this.
database. When application starts a form is displayed which allows user to
provide the path to the database. My problem is I want this form to open on
top of main form. At present the main form doesn’t appears until user press
OK or Cancel on the form where they provide the data path.
I have used Sub Main as startup object as follows
Sub main()
Dim frm As New frmMain
frm.ShowDialog()
End Sub
And called the other on Form Load event of main form as follow
Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim frm As New frmSetDatabasePath
frm.ShowDialog(Me)
End Sub
How can I fix this.