Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / July 2004

Tip: Looking for answers? Try searching our database.

Copy a Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wayne  Wengert - 26 Jul 2004 14:02 GMT
I am using VB.NET (VSNET 2003). I have an application with about 25 forms. I
need to add a new form that is very similar to an existing form. Last time I
ran into this requirement I went outside the IDE and made a copy of the form
(myForm1.vb copied to myForm2.vb) and then re-opened the IDE and patched up
form and file names and such - I finally got it working but it was a pain.

When I try to make a copy of an existing form from within the IDE it screws
up the project.

What is the correct way to make a copy of an existing form within a VB.NET
project?

Wayne
Norman Yuan - 26 Jul 2004 20:44 GMT
You can just do copy/paste inside VS.NET, if you ever right-clicked anything
in Solution Explorer:

In Solution Explorer, right click the form file you want to copy, then right
click the project and select paste.

> I am using VB.NET (VSNET 2003). I have an application with about 25 forms. I
> need to add a new form that is very similar to an existing form. Last time I
[quoted text clipped - 9 lines]
>
> Wayne

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.