.Net Program Source Code Generator TCDesigner
 

Tutorial 4: Creating a Visual Studio Project 

Prerequisites: Tutorial 3 - Generating Code.

All you need to do to run your generated system is: 1) Create a project in Visual Studio, 2) Add the generated code to the project, 3) Set a start up object. 4) Compile and run.

Start Visual Studio and select New, Project from the File menu. For Project Type, choose either Visual Basic Projects or Visual C# Projects as appropriate. For Template, choose either Windows Application or ASP.NET Web Application. Provide a name and file location.  

Right mouse click on the project and select Add, Add Existing Item...

Navigate to the output directories where TCDesigner placed the generated code. You will need to add code from three folders only, The Sql folder has stored procedures and will NOT be added to your project. Repeat the Add Existing Items steps three times to bring in your Base classes, Data Access Classes, and either Web Pages or Windows Forms. Make sure you select All Files, not just C# files as is shown below! 

Now, set a start up object. For ASP.NET Applications, all you have to do is right mouse click on the MainMenu page and choose "Set as Start Page". For Windows Applications, follow the steps below. From the Project menu select Properties.  

Choose the Startup Object as shown below. You can now compile and run your project. 


©2004 Program Solutions LLC. All rights reserved. Terms of Use | Privacy Statement
TCDesigner