| View previous topic :: View next topic |
| Author |
Message |
Victor Egbe Newbie
Joined: 23 Mar 2006 Posts: 4 Location: Abuja, Nigeria
|
Posted: Mar 31st, 2006 04:13 AM Post subject: How do we register/unregister Active X EXEs? |
|
|
Using regsvr32.exe you can register and unregister activeX.dLLs and .OCX. ActiveX EXEs get registered automatically as soon you run them. But when you need to and try to unregister an EXE component regsvr32.exe returns an error message to the effect that the file is neither a .dll nor a .ocx. But we do have need to unregister, say a test, activeX EXE so they don't clutter our reference list of components.
I must add that this problem is not restricted to WinXP. It applies also to Win2000.
Vie
@ _________________ Sin lies at the door... |
|
| Back to top |
|
i_am_doofus Regular
Joined: 04 Jun 2005 Posts: 57
|
Posted: Mar 31st, 2006 08:13 AM Post subject: |
|
|
| Why not just use regedit do delete all references to your ActiveX EXE from the registry? |
|
| Back to top |
|
Victor Egbe Newbie
Joined: 23 Mar 2006 Posts: 4 Location: Abuja, Nigeria
|
Posted: Apr 1st, 2006 09:36 AM Post subject: |
|
|
No i_am_doofus, there is actually a "safer" way. I got it elsewhere.
If your activeX server is named say "doofus.exe".
In the command prompt:
....to register it, type: doofus.exe /regserver
....to unregister it type: doofus.exe /unregserver
But thanks all the same for offering a solution that also works.
Vie
@Abuja, Nigeria _________________ Sin lies at the door... |
|
| Back to top |
|
i_am_doofus Regular
Joined: 04 Jun 2005 Posts: 57
|
Posted: Apr 2nd, 2006 05:15 AM Post subject: |
|
|
| Thanks for posting that Victor. Good to learn something new. |
|
| Back to top |
|
|