Create a Form/project from user input

Peter Allen
Peter Allen used Ask the Experts™
on
Experts,

A while ago in VisualBasic 4.5 I created an application I called APW (Automatic Program Writer).  The program created simple database applications (BAS files).  I would like to re-produce the application in an updated version.  I am calling this TestApp.  I only want to start with one Form with a few basic controls on it to get started.

I know the code and how to create buttons and the like, but how do I create a Project file in VB code with a Form and its controls that I can save as a stand-a-loan project?  For this question I am starting out with 250 points, but will go higher if the complexity of this question goes up.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2014

Commented:
Do you have to create project files or exe files?
Peter AllenIT Specialist

Author

Commented:
Hello CodeCruiser,

My goal is to create the Project files.  The reason is - if I need to make changes to some of the forms or controls I can do that without creating the EXE in one step.  This would give me greater flexability.

I also plan to add modules that extend the capability of the application later,
Most Valuable Expert 2012
Top Expert 2014

Commented:
Form files are text files and solution/project files are xml files. You can copy the text from empty templates and then recreate the files.
Peter AllenIT Specialist

Author

Commented:
CodeCruiser,

Could you give me an example of creating a Project file?  Let's call it TestApp.  And for a Form or Class I could just use a sample of a blank Form or Class, etc?  What about the other files that the designer uses which are normally hidded?
Most Valuable Expert 2012
Top Expert 2014
Commented:
You can create a new project and just copy the project and user files and use them as template when generating your own projects.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial