By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,990 Members | 2,138 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,990 IT Pros & Developers. It's quick & easy.

MDI ToolStripMenuItem Problem

P: 54
Please, I'm using Vb.Net 2008 and I have this MDI form as the main one and its child in the following code.

Expand|Select|Wrap|Line Numbers
  1. Dim frm As New frmMovement
  2.       frm.MdiParent = Me
  3.       frm.Show()
  4.       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
Feb 8 '13 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 10K+
P: 12,383
Please use code tags when posting code.

It would help to know when the code is called. IE, the events that trigger the code.
Feb 9 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.