this blog contains information for .net and sql stuffs. You can find various tips and tricks to overcome problem you may be facing in ...

Saturday, September 19, 2009

How to Register OCX component to Operating System


If you have gong through the VB application you will find that it requires many com component files and that needs to be registered in your computer.

If you have just copied your file to system32 folder then it will not registered but you have to manually registered by following command.

For that you can do as..

In start---> Run-->regsvr32 "File path to register"

above thing will register file to your pc.

i.e. regsvr32 C:\WINDOWS\system32\MSADODC.OCX
this will register MSADODC.OCX file to your pc.

No comments: