Click here to Skip to main content
15,901,373 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,

How to create a MDIParent form in windows vb.net and how to call the child form from MDIParent form.

Can any one please send me the detailed code..


Thanks in advance
Sucharitha
Posted

http://msdn.microsoft.com/en-us/library/xyhh2e7e[^]
Gives directions for creating the container for the multiple documents within an MDI application.
http://msdn.microsoft.com/en-us/library/aa984329(v=vs.71).aspx[^]
Gives directions for creating one or more windows that operate within an MDI parent form.
http://msdn.microsoft.com/en-us/library/7aw8zc76.aspx[^]
An essential element of Multiple-Document Interface (MDI) Applications is MDI child forms, as these are the center of user interaction.
 
Share this answer
 
VB
Private Sub CreateChildForm
  me.mdiparent = true 
  dim frm as new yourform
  frm.mdiparent = me
  frm.show
End Sub


the code in the sub routine is only a basic idea of how to do what you want, yourform should be your child form type.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900