-
Calling a Form
Hi All,
I am new to .NET.
I am facing a problem.
I have one MDI form and in that i am calling other forms.
I am able to call 2 forms but only one form i am not able to call from the MDI.
dim frmA as new frmEntry
frmA.Show()
this is what i written.
please anybody can help me in this
-
Hi,
Have you made sure the MDIPARENT property of frmA is set to the correct parent?
Have you used SHOWDIALOG anywhere?
-
Calling form from MDI
Yes, i set corect MDIPARENT
Below code i written in MenuItem click
Dim frmA As New frmMap()
frmA.mdiparent = Me
frmA.show()
-
Hi,
In your first post you wrote
"dim frmA as new frmEntry
frmA.Show()
this is what i written."
In your second post you wrote
"Below code i written in MenuItem click
Dim frmA As New frmMap()
frmA.mdiparent = Me
frmA.show()"
Which is correct?
In which form have you written the above code?