Data Database Programming VB.Net Visual Studio Windows Form

How to make a MdiParent Software in VB.NET for a single view

Spread the love


If you are a software developer and want to make a single view viewable windows application by using visual studio then you are in a right place. In this post I will tell about how you can make a

MdiParent windows form application by using This is a very simple if you know some coding of So now lets begin to crate a MdiParent Windows form application step by step.


Open Microsoft Visual Studio on your computer and create a new project under visual basic section, choose a name for your project and then click on OK button now wait for a few time when the windows form will be appear in your Microsoft visual studio.


After creating a new windows project you will be see a blank form application this is your first form of you application so if you run your project by clicking on debug icon this form will be run or if you want to change your default windows form then you can change it by clicking on solution explorer and then right click on your project and choose your default windows form in your application settings.


Now click on properties of your windows form here you will see all the settings of your form, in this property window you will be see an option with the name MdiParent and at the front of this option you will see a dropdown menu. In this dropdown menu you will get two option one is True and Second is False. Now choose true that’s it your MdiParent form is ready to use.


Now its time to put your another form inside you MdiParent windows form here you need to know some programming of if you don’t know the programming then follow these instructions for creating your working project. put a button on your windows application and Just double click on the button and write the following code.
form2.MdiParent = Me

Here form2 is your second windows form and Me is your MdiParent windows application form so if your form name is anything then write down the form name here. Now run the project and you will see its work. Thanks for reading this post if you want to know more about how to make a windows application with data driven then get in touch with this post. Now enjoy your single view viewable windows application.


  • Create a new blank windows application project.
  • give a name to your project.
  • click on your form properties and select MdiParent.
  • Now choose True from the drop down menu for MdiParent.
  • create a button on your first form or your can choose menu strip for accessing your another form.
  • put the above code under button field
  • run the project and enjoy making windows application with MDIParent windows application form making a single view.

By Arvind Singh

Arvind Singh is a Web Developer / Blogger and Also a Youtuber. He Explores what's possible with WordPress, Blogger, Mobile Phones, Web Development and shares his Knowledge with the Readers.

Leave a Reply

Your email address will not be published. Required fields are marked *

If you are want to remove unused active plugins and…