CodeItBetter Programming Another VB Programming Blog

How to Register/Unregister ActiveX Controls using Regsvr32.exe

Posted on January 5, 2009
1
2
3
4
5
6
7
8
9
10
'Miscellaneous - How to Register/Unregister ActiveX Controls using Regsvr32.exe

'If you have an ActiveX Control (OCX or DLL file) that you want to use in your program,
'you have to register it with windows.

'To register it, Open the Run Dialog
'Then in the Text Box type:    regsvr32 "C:\Temp\Test.Ocx"
'where "C:\Temp\Test.Ocx" is the full path to the ActiveX control.

'To unregister it, type in the text box:    regsvr32 /u "C:\Temp\Test.Ocx"
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.