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

How to determine OCX reference

Status
Not open for further replies.

StormbringerX

Programmer
Joined
Dec 14, 2000
Messages
102
Location
US
Hi all,

This is probably a newbie question so bear with me, please.

Is there any quick way to determine which reference pertains to what OCX? For instance, if I wanted to add the DateTimePicker control to my project, here are the steps I'm going through:

1) Find the DateTimePicker control in the MSDN HELP under Reference and ActiveX Controls.

2) It tells me that it is part of the MSCOMCT2.OCX and I should add it to my project.

3) Then I have to go to Project-References, highlight each reference that seems likely, and look at the location to see if that particular reference is MSCOMCT2.OCX

I'm using the DateTimePicker control as an example, but for some of the lesser-used components, you can waste a lot of time just trying to find the damn thing.

Any help is appreciated, and if I'm missing something obvious, please don't laugh too hard. :)

Thanks
Dave
 
use the browse button, select the desired ocx (usually in system32) click it and it checks the relevant box for you!!

i dont know if there is any side effects to this method, but ive been using it for 2 years now!!!

good luck

If somethings hard to do, its not worth doing - Homer Simpson
------------------------------------------------------------------------
A General Guide To Excel in VB FAQ222-3383
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top