Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make copy of exisiting form

Status
Not open for further replies.

jcg6

Technical User
Feb 18, 2002
50
0
0
US
I would like to make a copy of one of my existing forms within the same application. Is there an easy way to do this? I want both the code and the design of the form. Thanks for the help.
 
Well you could copy every single line of code, including the hidden code that is part of the form designer, and copy it into a new empty form. Be sure to rename the class though.
 
I use Borviks method, I guess there is no easy way.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
When I say "copy", I mean file copy via Right-Click on the form name in Solution Explorer, Copy, Right-Click on the added new project in Solution Explorer, Paste, Rename, reverse process. That way I also get the Resx file.

Forms/Controls Resizing/Tabbing
Compare Code
Generate Sort Class in VB
Check To MS)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top