Manually Register and Unregister DLL files
Register and unregister DLLs using REGSVR32
When playing around with Windows, it's handy to be able to quickly load and unload DLL's. Here are the commands needed to do just that. These commands are run from the command prompt, however there is nothing stopping you from creating a shortcut that does the same thing.
Unregister a DLL:
Register a DLL:
Detailed tutoril of Regsvr32.exe usage
RegSvr32.exe has the following command-line options:
Regsvr32 [/u] [/n] [/i[:cmdline]] dllname
/u - Unregister server
/i - Call DllInstall passing it an optional [cmdline]; when used with /u calls dll uninstall
/n - do not call DllRegisterServer; this option must be used with /i
/s ¨C Silent; display no message boxes (added with Windows XP and Windows Vista)
When you use Regsvr32.exe, it attempts to load the component and call its DLLSelfRegister function. If this attempt is successful, Regsvr32.exe displays a dialog box that indicates success. If the attempt is unsuccessful, Regsvr32.exe returns an error message.
A Quick Way to Register and Unregister DLLs
It's really a pain to continually register, unregister, and reregister a DLL (or worse, many DLLs) using REGSVR32. Importing the following into your registry, allows you to set up options in the context (right-click) menu for registering (or unregistering) DLLs quickly and easily. Just copy the text below into a .REG file and run it.
This assumes REGSVR32.EXE is in C:\windows\system; you'll need to change this for Windows NT.
NOTE: To make sure you use the right version (REGEDIT4), export any part of the registry using REGEDIT, open the .REG file in Notepad, and look at the first line. Also, MAKE SURE TO BACK UP THE REGISTRY before importing this (just in case) by exporting the HKCR\dllfile branch to a file using REGEDIT.
Afterwards, when you right click a DLL, you will be able to choose Register or Unregister from the context menu. To get rid of the success message box, you could add a /s to the REGSVR32 command line.
Read more:
Tips: Use WinSysClean TM for automatical optimization. Fix, clean, and speed up your computer without adding hardware. Download a free trial version of WinSysClean 2009 to get the best performance of your PC.
| More Windows optimization tips on 'System Optimization' |
A list of your previously visited websites can clutter your browser and allow others to invade your privacy. This article is on how to delete address bar history. By clearing web browser cache, you can make your browser to function more efficiently and save a lot of disk space. Solutions for removing all you Internet surfing tracks and keeping your privacy. Tips on how to optimize Windows startup and faster boot times. Kill, Terminate or Stop a Windows Unresponsive, Hanged or Frozen Application or Process
| |  |
 |
 WinSysClean TM
automatically optimizes your Windows System
 Clean invalid Windows System registry  Remove Windows Documents History  Delete Windows RUN History  Clean Internet Explorer Cache, Cookies Folder  Delete Internet Explorer typed, visited URL History
|
| What's New? |
Index.dat files are dangerous privacy threat - any person can see history of almost all of your computer activities. AutoComplete feature may be helpful for some things, it can also seriously compromise your security and privacy. This article is on how to delete autocomplete history. A list of your previously visited websites can clutter your browser and allow others to invade your privacy. This article is on how to delete address bar history. By clearing web browser cache, you can make your browser to function more efficiently and save a lot of disk space. Solutions for removing all you Internet surfing tracks and keeping your privacy. |
| MORE: 1 2 3 4 |
| Spyware Removal Guides |
|
|
| MORE: 1 2 |
Copyright © 2009 PC-Washer.com All rights reserved.
|
 |