|
| Registering Activex controls |
| Iniciado por ludara, 15,feb. 2004 03:07 - 3 respuestas |
| |
| | | |
|
| |
| Publicado el 15,febrero 2004 - 03:07 |
Hello all! I am looking for a 'magic'(read general) formula to register any Activex by code from WinDev or maybe through WDINST. Say you have an activex control named Control.ocx installed in c:\MyProg\Xtras\, which registry entries do I have to write using RegistryCreateKey and or RegistrySetValue to have the control properly registered?? I will really be happy if someone can help me. Thanks in advance. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 15,febrero 2004 - 13:12 |
Hi Daniel,
I am looking for a 'magic'(read general) formula to register any Activex by code from WinDev or maybe through WDINST. Say you have an activex control named Control.ocx installed in c:\MyProg\Xtras\, which registry entries do I have to write using RegistryCreateKey and or RegistrySetValue to have the control properly registered?? You can use the regsvr32.exe program from windows --- ddestart("regsvr32.exe [/parameters] myActiveX.ocx") --- And on the WinDevAsso site there is a (wd55) class (menuchoice : sources & utilities/ operating system ...) on registering DLL's & OCX's (probably API, not checked) BTW: did you find a solution for the SMTP problem. Maybe provider doesn't allow ?
Greetings, Peter |
| |
| |
| | | |
|
| | |
| |
| Publicado el 15,febrero 2004 - 21:30 |
Hello Peter, thanks for your fast answer
You can use the regsvr32.exe program from windows --- ddestart("regsvr32.exe [/parameters] myActiveX.ocx") This is mainly what I was looking for, as I want to use the WD installer for my apps, but it doesn't (?) auto register activex controls and that is a must for me, but it can be easily solved with your suggestion.
And on the WinDevAsso site there is a (wd55) class (menuchoice : sources & utilities/ operating system ...) on registering DLL's & OCX's (probably API, not checked) I will check it, thanks for the clue...
BTW: did you find a solution for the SMTP problem. Maybe provider doesn't allow ? Just to cover my most urgent needs, I have it working on not authenticated SMTP servers, still finding other related things and about to ask about it to PCS when I have all the info, will keep you all informed. Thanks again. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,diciembre 2020 - 12:46 |
you can use
IF RegistryExist("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CubePlus.GridX") = True THEN Info("ok") ELSE Info("Not ok") END
this will check if CubePlus.GridX is installed
use Regedit First to locate where the OCx is installed,
att Carlos Lages |
| |
| |
| | | |
|
| | | | |
| | |
|