Solved

Clone a form in VB.NET

Posted on 2011-02-26
3
649 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
Comment Utility
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
Comment Utility
Gee. I would have never figured that one out. Thanks much.
0
 

Author Closing Comment

by:gbmcneil
Comment Utility
That was a quickie.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
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 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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

771 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