[HELP] How to get ActiveX Class ID in OCX (DLL)

contains all delphi packages mentioned below
Post Reply
fsurfer
Posts: 23
Joined: Thu Jul 08, 2004 9:53 am

[HELP] How to get ActiveX Class ID in OCX (DLL)

Post by fsurfer »

Hi everyone,

i didn't know where to ask this precisely in the right package forum, so i ask for it here.

Is there, within any of the package - perhaps madTools but i didn't find it - a way to list all the activeX Controls contained within an OCX and their CLASSID ?

The idea of this is that, in D7, there's a bug in the IDE when you're building an Web ActiveForm that prevents, when re opening a project, to generate all the required files to distribute them through the web (the Project|Web Deployment ... option). So i'd like to build some kind of a tool that would :
1. read a config file
2. get the classid for the main control
3. generate the cab file for the control plus all the required files to be distributed
5. generate the inf file (with the correct classid and file versions)
6. generate (from a template wihtin the config file) the

Code: Select all

<object 
classid="clsid:xxx"
codebase="http://server/control.inf#Version=latestfileversion"
>
</object>
code to put in the web page.
7. print "thank you for using this tool" on the console or the log window ;)

Thanks in advance for any help :)

Best regards,

Guillaume
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Sorry, I've no knowledge about ActiveX/OCX.
Post Reply