If I try to register a ocx with it I get:
Sorry the -R switch is unrecongnized,
I've tried re-installing VB5 from the CD a few too many times, any ideas?
Printable View
If I try to register a ocx with it I get:
Sorry the -R switch is unrecongnized,
I've tried re-installing VB5 from the CD a few too many times, any ideas?
Well, are you passing an -R switch to it? In that case the answer is easy: DON'T! The RegSvr32.exe doesn't have an -R switch. To register an OCX just pass the file and path as the command line argument to RegSvr32.exe.