|
-
Aug 22nd, 2001, 02:00 AM
#1
Thread Starter
Junior Member
UnRegister ActiveX.exe with API
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
-
Aug 22nd, 2001, 08:34 AM
#2
These are the two api calls:
Declare Function DllRegisterServer Lib "ComCtl32.OCX" () As Long
Declare Function DllUnregisterServer Lib "ComCtl32.OCX" () As Long
-
Aug 22nd, 2001, 01:29 PM
#3
To register an activeX exe without running it shell it:
mylibraryX.exe /regserver
To unregister it shell it:
mylibraryX.exe /unregserver
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|