Dual Monitor in MDI application

sgs2010 used Ask the Experts™

 I am developing a VB.net  MDI application . (I have never developed a dual monitor application but I have developed many vb.net MDI applications )
 The MDI has three child windows , W1, W2,W3 . When the application starts  W1, W2 need to be shown in Primary Screen and W3 need to be shown in secondary screen .

 Please give me the  code sample for this.

( The example in C# is quite fine for me )
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Manager / Solutions Architect
The idea is to detach W3 from the MDI container and make it just owned by the MDI window.
Basically don't set the MDIParent property of W3, just set the Owner property to be the MDI Window.

To know the amount of monitors available and their resolutions have a look here:



Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial