Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » General

Post new topic   Reply to topic
How do we register/unregister Active X EXEs?
View previous topic :: View next topic  
Author Message
Victor Egbe
Newbie


Joined: 23 Mar 2006
Posts: 4
Location: Abuja, Nigeria

PostPosted: Mar 31st, 2006 04:13 AM    Post subject: How do we register/unregister Active X EXEs? Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
i_am_doofus
Regular


Joined: 04 Jun 2005
Posts: 57

PostPosted: Mar 31st, 2006 08:13 AM    Post subject: Reply with quote

Why not just use regedit do delete all references to your ActiveX EXE from the registry?
Back to top
View user's profile Send private message
Victor Egbe
Newbie


Joined: 23 Mar 2006
Posts: 4
Location: Abuja, Nigeria

PostPosted: Apr 1st, 2006 09:36 AM    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
i_am_doofus
Regular


Joined: 04 Jun 2005
Posts: 57

PostPosted: Apr 2nd, 2006 05:15 AM    Post subject: Reply with quote

Thanks for posting that Victor. Good to learn something new.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » General All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic