Home All Groups Group Topic Archive Search About

VB6 to VB.NET - Whers MDI?

Author
2 Jul 2005 4:34 PM
Rodrigo
Hello, I'm starting now in VB.NET 2003, and I noticed that ther's no MDI
  Form, that's kind of harsh when creating a program with multime
windows... How can I do this without an MDI? or, Is there a MDI Form in
..Net?

Author
2 Jul 2005 5:03 PM
Bernie Yaeger
Hi Rodrigo,

You simply set the base form (that form with the main menu) as
ismdicontainer = true; then each of the menu selections launches the child
windows like this:

Application.DoEvents()

Dim newmdichild As New excelconvertlarge

newmdichild.MdiParent = Me

newmdichild.Show()

HTH,

Bernie Yaeger



Show quoteHide quote
"Rodrigo" <rodrigo***@nerdshack.com> wrote in message
news:%231szoPyfFHA.3940@TK2MSFTNGP14.phx.gbl...
> Hello, I'm starting now in VB.NET 2003, and I noticed that ther's no MDI
> Form, that's kind of harsh when creating a program with multime windows...
> How can I do this without an MDI? or, Is there a MDI Form in .Net?
Author
2 Jul 2005 6:11 PM
Herfried K. Wagner [MVP]
"Rodrigo" <rodrigo***@nerdshack.com> schrieb:
> Hello, I'm starting now in VB.NET 2003, and I noticed that ther's no MDI
> Form, that's kind of harsh when creating a program with multime windows...
> How can I do this without an MDI? or, Is there a MDI Form in .Net?

Visual Studio -- Multiple-Document Interface (MDI) Applications
<URL:http://msdn.microsoft.com/library/en-us/vbcon/html/vbconmdiapplications.asp>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>