Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


using regsvr32


using regsvr32

Author
Message
Hal
Hal
Forum God
Forum God (1.1K reputation)Forum God (1.1K reputation)Forum God (1.1K reputation)Forum God (1.1K reputation)Forum God (1.1K reputation)Forum God (1.1K reputation)Forum God (1.1K reputation)Forum God (1.1K reputation)Forum God (1.1K reputation)

Group: Forum Members
Posts: 5, Visits: 44
Hello

This is a real newbie ques. I was told that to activate my olch2x7.ocx I need to run regsvr32. Well, how do I run it? If I click on it it asks how do I want to open it from a list or web. That doesn't tell me much.

thanks for any help!

Duane

Mark
Mark
Forum God
Forum God (141K reputation)

Group: Moderators
Posts: 1.1K, Visits: 11K
  1. Click the start button and then run
  2. Where it says open type regsvr32.exe and the full path to the ocx. It should look something like this "regsvr32.exe c:\WINDOWS\system32\olch2x7.ocx" (without the quotes).
  3. Click the OK button

The OCX should then be registered with the system.

Keithuk
Keithuk
Forum God
Forum God (297K reputation)

Group: Moderators
Posts: 1.9K, Visits: 5.5K
Or you can use ActiveX Manager v1.4.



Overview:

If you've ever wanted to register an ocx or dll and had trouble using Regsvr32.exe. Then this tool will do it for you. If you want to read about its functions then visit:



http://www.4developers.com/xmgr/index.htm



Just double-click on any ocx or dll in any folder (usually Windows\System) and you will get a message saying its registered or not. Just right-click on the ocx or dll and select UnRegister DLL Server or UnRegister ActiveX Control to unregister it.



Any problems email me. Smile




Keith

I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

Spsp1981
Spsp1981
Forum God
Forum God (3.1K reputation)Forum God (3.1K reputation)Forum God (3.1K reputation)Forum God (3.1K reputation)Forum God (3.1K reputation)Forum God (3.1K reputation)Forum God (3.1K reputation)Forum God (3.1K reputation)Forum God (3.1K reputation)

Group: Forum Members
Posts: 18, Visits: 7
You can also copy the following lines in a plain text file with .reg extension. This will add the commands "Register" & "Unregister" to the file context menu.

---------------------------------------------------------

REGEDIT4



[HKEY_CLASSES_ROOT\.ax]

@="ocxfile"



[HKEY_CLASSES_ROOT\.ocx]

@="ocxfile"



[HKEY_CLASSES_ROOT\.dll]

@="dllfile"



[HKEY_CLASSES_ROOT\dllfile\Shell]



[HKEY_CLASSES_ROOT\dllfile\Shell\Register]

@="&Register"



[HKEY_CLASSES_ROOT\dllfile\Shell\Register\Command]

@="c:\\windows\\system\\regsvr32.exe \"%1\""



[HKEY_CLASSES_ROOT\dllfile\Shell\Unregister]

@="&Unregister"



[HKEY_CLASSES_ROOT\dllfile\Shell\Unregister\Command]

@="c:\\windows\\system\\regsvr32.exe -u \"%1\""



[HKEY_CLASSES_ROOT\ocxfile\Shell]



[HKEY_CLASSES_ROOT\dllfile\Shell\Register]

@="&Register"



[HKEY_CLASSES_ROOT\dllfile\Shell\Register\Command]

@="c:\\windows\\system\\regsvr32.exe \"%1\""



[HKEY_CLASSES_ROOT\dllfile\Shell\Unregister]

@="&Unregister"



[HKEY_CLASSES_ROOT\dllfile\Shell\Unregister\Command]

@="c:\\windows\\system\\regsvr32.exe -u \"%1\""

---------------------------------------------------------



Spsp_1981: spsp_1981[remove.this]@tutopia.com


Edited
11/7/2005 by Spsp1981
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search