Solved

Clone a form in VB.NET

Posted on 2011-02-26
3
653 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Simple Injector with Web Service 4 38
in Dot net,lastest version of MVC 3 23
SQL Help 27 40
C# LINQ ForEach() question 6 17
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

813 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

11 Experts available now in Live!

Get 1:1 Help Now