Quick Search
Most Popular Articles
- Why Can't I Copy a Large File Despite Having Larger Free Space?
- What are HIBERFIL. SYS and PAGEFILE. SYS?
- Why Do I See 'This Web Site Does Not Supply Ownership Information' in My Browser?
- What are Emoticons?
- How do You Register/Obtain DLL or OCX Files?
- How Do I Remove Add/Remove Programs Entries?
- Article Index
- Why am I Having a MSN MAILHOST/ DOWNLOADHOST Problem?
- What Do Those 404 and Other HTTP Return Codes Mean?
- What is goog-malware-shavar?
How do You Register/Obtain DLL or OCX Files?
- 2009-05-25
- Categorized in: How...
Most programs use some form of library files to hold common routines used by multiple parts of the program. These files typically have the extension .DLL or .OCX and are distributed with programs that need them. Rarely, one needs to be re-registered with Windows.
When a program installs a library (DLL or OCX) file the program's install routine will typically "register" the file with the system. This process tells the system the libraries in the file are available for more than one program to use. (Some DLL or OCX files are self-registering.)
Sometimes, if multiple programs are using a DLL or OCX file the system does not know about all of them. In this case, if you uninstall one of the programs its uninstall routine may delete the library in question not knowing that another program needs it. When this is done the library's registration with the system no longer applies. And, if you just copy the DLL or OCX file back where it came from the system may not recognize it even if it's in the proper place. While this is rare, when this happens you may need to "register" the library file manually.
You can find the full details about how to use the REGSVR32.EXE file at this Microsoft link...
http://support.microsoft.com/?kbid=249873
The process is non-trivial so you should study the referenced page quite closely if you are going to attempt to register a library file. Indeed, it just might be easier to reinstall the application in question and let its installer take care of the regsitration process as part of the install.
In summary, if you choose to manually register a library file you will have to restart your computer in command prompt mode (called DOS mode in some cases). Once there, you will have to issue a command of the form...
Regsvr32 [/u] [/n] [/i[:cmdline]] dllname
It's possible this procedure may fail in which case you may need information from the developer of the library.
I guess the bottom line recommendation from Computer Knowledge would be to avoid this process if at all possible.![]()
Where Do You Get DLL Files?
As mentioned above, all of the library files you need should have been provided by the programs that require them. In the rare instance that you need one and can't find it on the Website of the program in question you might try...


[I have no registration for site updates unless you follow the Twitter feed as I generally use that to announce a new page if I remember. -DaBoss]
[Can't personally say. --DaBoss]
I have developed a activex control and registered on 64bit system. I have 64bit windows operating system and office 2010. When I install activeX using regsvr32.exe , it succesfully executed.
But the problem is when I try to use this activeX component in my application like in VBA7, it through an exception "Unspecified Error". I am not getting what is going wrong with this.
I am added this component to my toolbox using choose component option. and while trying drag n drop this component it through a Exception .
Plz Help
Thanks in advanced
I created an 64 bit ocx in vs2010 in Windows server 2008 OS. I am successfull to register this ocx properly..Then i created a windows application in vs2010. I want to use this OCX in application but the ocx is not visible in tab choose toolbox items->com component in tools menubar. So how can i use this OCX. Please reply ASAP.
Thanks in advance
Pooja Kamra
[This article is for general information and not specific to any given product or compiler or installer. Please see the Microsoft instructions for specific information. --DaBoss]