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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
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
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
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
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.