Solved

Clone a form in VB.NET

Posted on 2011-02-26
3
659 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

710 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