|
-
Nov 8th, 2006, 03:32 PM
#1
Thread Starter
Hyperactive Member
Make a Copy of a Form During Design Time - VB Express
Hi all,
I have a form that has the controls and code I need and is working fine, but I was hoping to develop a more 'Wizard' type.
What I want to do is copy the existing form and name it something appropriate so I still have the original, and can work on the new one.
I do a File - Save As and save a copy of the form that way, but when I add the original back into my project, I get a bunch of errors saying that 'something-something has already been declared', etc...
How can I do what I'm asking for?
Thanks,
JB
Update
Well, I think I figured it out. You do the File - Save As and then view the code behind the newly renamed form and you need to manually change the line:
to:
VB Code:
Public Class frmCopyofOriginal
Then at that point, you can add the original form back into the project and not get any errors.
Is there a more 'automatic' way of doing this?
Thanks again,
JB
Last edited by JazzBass; Nov 8th, 2006 at 03:39 PM.
JazzBass
In the .NET era
Trying to remember VB6
Progress: 
XP Professional @ Home
and @ the Office
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|