Create several exe files of the same program

Posted on 2004-11-23
Last Modified: 2010-04-23

I have a program which consists of about four forms. I need to create four versions of this program to go into four locations and store the versions on one PC for editing.
I have tried starting new projects and just importing the forms from the original program, because I cant be bothered creating all new forms again, but when I do this the changes I make in the new project affect the original project.

So is this a case of designing the forms again four times over or can I simply copy the forms so the programs can be edited and run as different projects,

Hope this makes sense, thanks in advance,

Question by:GarethWham
    LVL 85

    Accepted Solution

    Instead of importing the forms, you need to copy them.  Select the first form to be copied, and view its code.  From the menu, select (Edit --> Select All) followed by (Edit --> Copy).  Now go to your new project, select the default form and view its code.  This time from the menu,  select (Edit --> Select All) followed by (Edit --> Paste).  This will paste the controls and the code from the first form over the second form.

    Now you have two copies of the same form in different projects that will not affect each other.


    Author Comment

    Idle Mind,

    Cheers, appreciate quick responce,


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now