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

How do I find out what activeX components are being used? 2

Status
Not open for further replies.

Vovin

Programmer
Aug 24, 2003
63
GB
Hi,

can anyone help me with this - I'm not a VB programmer and don't really know my way around it.

I have a VB project that does a task which I want to put into my Delphi program. To acomplish this task it uses a number of ActiveX components but I don't know what ones and where there are on my PC. How do I find out this information so that I can use the components in delphi?

Any help would be much appreciated. Thanks in advance.
 
If you have a copy of the VB project's .vbp file (it's only a text file) you will find a list of all of the ActiveX components near the start.

The lines begin with either Reference= or Object=.

Within the line you will find the GUID for the component and its file name. References will also include the relative path.

You also need to be aware that the VB app may include objects in the project and not use them and may also use late binding to open objects that are not declared.

Hope this helps
 
Thanks bboffin,

that's just what I needed.
 
Or you can just open the project and look at Components and References under the Project menu.

For any undeclared ones you would have to search the source for CreateObject.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top