Solved

Clone a form in VB.NET

Posted on 2011-02-26
3
655 Views
Last Modified: 2012-05-11
Hello Experts -

Before I get myself into trouble, can you tell me how I might copy a form to a second form (which I intend to modify) within the same project? The environment is VB.NET.

I don't want to call this form in a different way. I just want to take advantage of all the code and controls placement as a good place to start coming up with a second somewhat-different form.
0
Comment
Question by:gbmcneil
  • 2
3 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 125 total points
ID: 34988545
Just right-click on the form in the solution explorer and choose "Copy". Then right-click on the project and choose "Paste". That will create a copy of the form which you can then rename.
0
 

Author Comment

by:gbmcneil
ID: 34988577
Gee. I would have never figured that one out. Thanks much.
0
 

Author Closing Comment

by:gbmcneil
ID: 34988580
That was a quickie.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

820 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