You are here:

VB.NET/How Can I save a form that dynamically as formname.vb


i want to develop an application that allows user to design his/ her own screens.

For this, I am following this procedure

I created a tool box with some tools (label, button, textboxes, line etc..)
i have a new form (this form has to save with a name and with an extension .vb), And can add some controls to the form using tools in my tool box.
And i am adding some event handler to these controls.
Now i want to save the form with controls on it. (same as we create a form and add controls to it manually using visual studio)
Now my question is, can i do this using or not, if yes, how?. Please help me i am stuck at this for no. of weeks,


Why do you want to generate .vb forms? why not save your form data as XML instead and load it in your designer.

Moreover you can use Codedom to achieve this. More information can be found here:  


All Answers

Answers by Expert:

Ask Experts


Syed Rizwan Muhammad Rizvi


I can answers questions regarding web based and desktop based programming in VB.Net. Which can include SOAP, XML, Custom Controls, COM Interoperability etc.


Have been working in this specific area for last 2 years previously I was a VB 6 Developer with experties in other languages as well. Total 10 years of programming experience.

©2017 All rights reserved.