VB.NET - MDI ToolStripMenuItem - Asked By Ben Sebuabe on 08-Feb-13 03:19 AM

Please, I'm using Vb.Net 2008 and I have this MDI form as the main one and its child in the following code.
 
Dim frm As New frmMovement
      frm.MdiParent = Me
      frm.Show()
      frm.BringToFront()

The first time I run the code, the frmMovement form was showing, but sometime later it failed to show again and I'm just confused! When I run the code the first time and it showed, it was displaying so many times before it stopped.

What could possibly be the cause of the child of the MDI form showing so many times and later failed to display? Thanks
Danasegarane Arunachalam replied to Ben Sebuabe on 08-Feb-13 07:15 PM
Try this one


Dim frm As New frmMovement
    frm.MdiParent = Me
    frm.Show()
    frm.Activate()