How to register ocx on vista
[Solution # 1]
Drag and drop it onto regsvr32.exe in Windows\system32 folder. Make a shortcut for regsvr32.exe in the same folder the OCX is in and drag and drop it that way
[Solution # 2]
Just run cmd.exe as administrator and try again. This is the key.
Here, step by step:
1. find the folder of cmd: it is usually on C:\windows\system32\cmd.exe
2. Do right click over cmd.exe and click on "run as Administrator"
3. now just use regsvr32.exe as you used to do!
For example, to register most Blackd Proxy ocxs, you might need to type this in "Administrator" cmd:
A side result for Visual Basic 6.0 users: this seems to be the way to use components in Windows Vista properly. Just register the components of your proyect with "Administrator" cmd before adding them to your proyect (or before opening a proyect that already had such components)
[Solution # 3]
use this in command line
REGSVR32 /V then ur ocx or dll name
REGSVR32 /V CRPAIG32.DLL
[Solution # 4]
right-clicking the batch file and selecting
'run as administrator'.
Mar 03, 2009 |
Microsoft Windows Vista Ultimate Edition