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

Adding Classes to ActiveX dll project, VB6

Status
Not open for further replies.

StormbringerX

Programmer
Dec 14, 2000
102
US
I'm creating (or attemtping) an ActiveX dll to contain all of my classes used to access our sql2000 database. My problem is I have well over a hundred of these classes and I can't begin to tell the time that is wasted by having to click on Add Class Module, browse to the file that's needed, OK it, and then it closes down. Then its the whole process all over again. Is there ANY way at all to add more than one existing class to a project at one time?

Any help is appreciated...

Dave
 
You can edit the projects .vbp file in notepad and add the class name and path to the file

Class=Authors;G:\Win2K\Projects\Development\TierTwo\Authors.cls
Class=CEmployeeRecordsets;G:\Win2K\Projects\Development\CEmployeeRecordsets.cls


will add the Authors Class and the CEmployeeRecordsets Class to the project.

Does that help at all? If you choose to battle wits with the witless be prepared to lose.
[machinegun][hammer]

[cheers]
 
The easiest way is to use Drag'n'Drop

Select the .cls you want using Windows Explorer and drag them to the Project Explorer window in VB - Job Done!

I've dragged about 20 in at a time, I'm not sure if it will handle 100+ at a time
 
Thanks WalkerLJ. Thats definitely more along the lines of what I was looking for... can't believe I didn't think of it myself! lol Appreciate it, Man....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top