Results 1 to 3 of 3

Thread: UnRegister ActiveX.exe with API

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2001
    Location
    Spain
    Posts
    21

    Arrow 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

  2. #2
    jim mcnamara
    Guest
    These are the two api calls:

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

  3. #3
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    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
  •  



Click Here to Expand Forum to Full Width