Link to home
Start Free TrialLog in
Avatar of asi
asi

asked on

install application with ActiveX

hi
I have written application that using activeX Control;
Now i need to make installation program ;
How can i install (and register)ActiveX on my Client Computer
i"m using delphi5 pro with basice InstallShield
all the best
Asi
Avatar of florisb
florisb

I believe that ActiveX Contols have to be registered on client computers. For some components this will raise some licensing questions.

I can't really answer your question, I expect that a program like InstallShield will produce correct instaltion; also with ActiveX controls. Perhaps some settings (additional files & registering) are needed.

Good luck,
Floris.
ASKER CERTIFIED SOLUTION
Avatar of simonet
simonet
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To register an ActiveX library programatically, use the LoadLibrary API to load the OCX dll.

Then use the GetProcAddress API to find the address of the "DllRegisterServer" function in that dll.

Call DllRegisterServer to register your OCX.

This is exactly what regsvr32 does.

Hope this helps.

Avatar of asi

ASKER

hi

when i"m insert file to some Gorup (Install Sheild Express) and on that file i press , propery , i have check box "Allow Express to self-register this file ", does this register OCX in the registry etc ... ?

10x
Aso
Yes. it will.

I only mentioned the programatical way to register ActiveX dll's because Its the nice way to do it if you have a plug in architecture. ie, you dont know what ActiveX controls the user will install alongside your app.

Regards

Carpathia