Ok, I have some forms that are children of my primary form. The thing is, I want to display them as a dialog (modal) so that the primary form can't be edited until the currently active child form is closed.

Now, I want to keep the MDI forms as MDI forms but also be able to display them in modal mode.

Unfortunately it seems like VB.net errors when I try to .ShowDialog(me) instead of the regular .Show()

Code:
VB Code:
  1. Dim frmGen As New frm_Generator
  2.         frmGen.MdiParent = Me
  3.         frmGen.ShowDialog(Me)

Any ideas?

Luc L.