Hello!
How can I unregister ActiveX EXE?
Printable View
Hello!
How can I unregister ActiveX EXE?
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
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?
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.
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.