Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Clone a form in VB.NET

Posted on 2011-02-26
3
Medium Priority
?
670 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 500 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

705 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