Click here to Skip to main content
15,925,255 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: PLEASE HELP!! craxdrt.dll failed to register Pin
yogesh_kumar_agarwal20-Dec-07 3:40
yogesh_kumar_agarwal20-Dec-07 3:40 
GeneralRe: PLEASE HELP!! craxdrt.dll failed to register Pin
vbDigger'z20-Dec-07 14:32
vbDigger'z20-Dec-07 14:32 
GeneralReading CSV File and storing in dataset Pin
ejaz_pk19-Dec-07 6:18
ejaz_pk19-Dec-07 6:18 
GeneralRe: Reading CSV File and storing in dataset Pin
Johan Hakkesteegt19-Dec-07 6:46
Johan Hakkesteegt19-Dec-07 6:46 
GeneralRe: Reading CSV File and storing in dataset Pin
ejaz_pk19-Dec-07 19:23
ejaz_pk19-Dec-07 19:23 
GeneralRe: Reading CSV File and storing in dataset Pin
Scott Dorman23-Dec-07 1:57
professionalScott Dorman23-Dec-07 1:57 
GeneralSplitting MDI form Pin
supercat919-Dec-07 5:46
supercat919-Dec-07 5:46 
GeneralRe: Splitting MDI form Pin
Dave Kreskowiak20-Dec-07 8:24
mveDave Kreskowiak20-Dec-07 8:24 
It's possible to do, but not easily. On an MdiParent form, there is a control that's automatically put on the form which handles all of the MdiChild windows and provides a place to render them. This control is a class, just like any other control on the form, called MdiClient. Since it is a control, deriving from the Control class, it behaves just like any other control. All it needs is a parent container to render itself in. By default, the MdiClient control is added to the MdiParent form's Controls collection. All your code has to do is find the MdiClient control and give it a new parent container, such as one of the Panels of a Splitter container.

There is a problem with this though. Any NEW instances of a form that you want to add to the MdiParent won't work unless you move the MdiClient control BACK to the MdiParent form's Controls container. What this means is that while you CAN put the MdiClient control on the right side of a splitter, you cannot add any MdiChild forms to it until you move the MdiClient back to where you found it, add the form, then move the MdiClient back to the right-side panel of the splitter.

Why? Because once you move the MdiClient from the Controls collection of a Form, it's no longer considered an MdiParent form and cannot be used to set the MdiParent property of a new form instance.

There might be a way around this, but I'd have to test it before I say anything.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




QuestionDirectory Tree contorl failing on folders with access constraints Pin
ExcelMonkey19-Dec-07 5:10
ExcelMonkey19-Dec-07 5:10 
GeneralRe: Directory Tree contorl failing on folders with access constraints Pin
Johan Hakkesteegt19-Dec-07 7:36
Johan Hakkesteegt19-Dec-07 7:36 
Generaluser control Pin
hassanasp19-Dec-07 4:45
hassanasp19-Dec-07 4:45 
GeneralRe: user control Pin
Paul Conrad19-Dec-07 16:31
professionalPaul Conrad19-Dec-07 16:31 
Generalvalidation arabic only Pin
hassanasp19-Dec-07 4:37
hassanasp19-Dec-07 4:37 
GeneralRe: validation arabic only Pin
Paul Conrad19-Dec-07 16:32
professionalPaul Conrad19-Dec-07 16:32 
GeneralData base connection Pin
nishkarsh_k19-Dec-07 3:27
nishkarsh_k19-Dec-07 3:27 
GeneralRe: Data base connection Pin
Johan Hakkesteegt19-Dec-07 6:55
Johan Hakkesteegt19-Dec-07 6:55 
GeneralRe: Data base connection [modified] Pin
nishkarsh_k19-Dec-07 16:43
nishkarsh_k19-Dec-07 16:43 
Questiondynamically setting MaxLength property of a Textbox Pin
Gulfraz Khan19-Dec-07 3:05
Gulfraz Khan19-Dec-07 3:05 
GeneralRe: dynamically setting MaxLength property of a Textbox Pin
nishkarsh_k19-Dec-07 3:29
nishkarsh_k19-Dec-07 3:29 
GeneralRe: dynamically setting MaxLength property of a Textbox Pin
Gulfraz Khan19-Dec-07 3:34
Gulfraz Khan19-Dec-07 3:34 
GeneralRe: dynamically setting MaxLength property of a Textbox Pin
darkelv19-Dec-07 5:38
darkelv19-Dec-07 5:38 
GeneralRe: dynamically setting MaxLength property of a Textbox Pin
nishkarsh_k19-Dec-07 16:46
nishkarsh_k19-Dec-07 16:46 
GeneralRe: dynamically setting MaxLength property of a Textbox Pin
Gulfraz Khan25-Dec-07 18:13
Gulfraz Khan25-Dec-07 18:13 
QuestionRandom files & nested structures in VB.Net Pin
steveDF19-Dec-07 2:18
steveDF19-Dec-07 2:18 
GeneralRe: Random files & nested structures in VB.Net Pin
Paul Conrad19-Dec-07 16:40
professionalPaul Conrad19-Dec-07 16:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.