CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2001
    Posts
    10

    ActiveX EXE unregister

    Hello!
    How can I unregister ActiveX EXE?


  2. #2
    Join Date
    Apr 2000
    Posts
    737

    Re: ActiveX EXE unregister

    use the windows command

    Regsvr32 /u [ActiveX EXE filename]

    or if you want to do it programmably, try http://vblib.virtualave.net, there is a function call RegisterComponent in vbSystem class which might be able to do it.

    HTH


  3. #3
    Join Date
    Feb 2001
    Posts
    10

    Re: ActiveX EXE unregister

    Thanks, I did it and received the following message:

    FileName.EXE was loaded, but the DllUnregisterServer entry point was not found.
    FileName.EXE does not appear to be a .DLL or .OCX file.



    May be the fact is that my project is ActiveX EXE project and it has startup object: Sub Main?


  4. #4
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: ActiveX EXE unregister

    I think it is because activeX exe are self registering (=you run them, they register themselves) - beware, I may be wrong... - However, you could try manually deleting entries in registry you find searching for your activex.exe name, your activeX classes with istancing property greater than "public non creatable" names - using regedit.exe
    (beware of what you delete: it is windows registry what you're touching!)


    Special thanks to Lothar "the Great" Haensler, Tom Archer, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  5. #5
    Join Date
    Apr 2000
    Posts
    737

    Re: ActiveX EXE unregister

    try to create a reference to that activeX, maybe it's already be registered. I did encounter this, but when I use the component, it just worked. Somehow this might not be fatal error.


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

Featured