PDA

Click to See Complete Forum and Search --> : UnRegister ActiveX.exe with API


tel
Aug 22nd, 2001, 02:00 AM
Hi,

I know how to register and unregister the ActiveX.dll. It can be done with:
- regsvr32 mylibrary.dll
- regsvr32 mylibrary.dll /u

I want now to register and unregister the ActiveX.exe. To register I know that it is done by one click in the MylibraryX.exe. To unregister what I was doing until now was:
- delete the file: mylibraryX.exe
- use The Microsoft RegClean (SRegis00.exe) to fix errors

but I donīt like very much use Microsoft RegClean

I have heard that the unregister and register of ActiveX.exe could be done by API.

Does someone know how I can unregister an ActiveX.exe with API?

thanks and regards

Tel

jim mcnamara
Aug 22nd, 2001, 08:34 AM
These are the two api calls:

Declare Function DllRegisterServer Lib "ComCtl32.OCX" () As Long
Declare Function DllUnregisterServer Lib "ComCtl32.OCX" () As Long

Frans C
Aug 22nd, 2001, 01:29 PM
To register an activeX exe without running it shell it:
mylibraryX.exe /regserver

To unregister it shell it:
mylibraryX.exe /unregserver