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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I copy a class to another in a VCT file? 1

Status
Not open for further replies.

CFPR

MIS
May 9, 2003
58
0
0
PR
Is there a way to simply make a copy of one class into another. For example:
All I want to do is copy Class1 based on Container, stored in Myclasses.vct, to Class2. Myclasses.vct will then have Class1 and Class2. They 'do' need to be different and I don't want to have to retype all those property's, methods...testing.., etc.I checked the FAQ and found out 'redefine' but no Save As...

Thanks..

CF
 
A bit of a kludge but:

Create a project
Add both class libraries to the project
Expand both libraries so that you can see the classes
Drag the class from library to the other

Taken me longer to type it than to do it.

Geoff Franklin
 
Easy enough...Actually, I just copied it from one library to another. Rename it a the new library and dragged it back to the original lib. (The deleted the copy from lib2)..
Got confusing?!?!?!

Works greats

Thanks.

CF
 
You can also do the same thing using two instances of the Class Browser.

Tamar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top