Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

How to Register Dll files in Explorer for Windows ME, 2000, XP and .NET

0.00/5 (No votes)
4 May 2003 1  
When we select a dll file in the explorer we can register/unregister it (Regsvr32)

XP DLL Context Menu

Introduction

Have you ever wanted to register dll files from Explorer? DLL files that export the DllRegisterServer and DllUnregisterServer (as COM dll files do) can easily be controlled from the Explorer while selected. You can register/unregister it as seen in the image above. To enable this feature add subkeys to the registy under HKEY_CLASSES_ROOT\dllfile\shell as in the following:

Registry Editor

Windows Registry Editor

RegSvr32

RegSvr32 Screenshot

UnregSvr32

UnregSvr32 Screenshot

What is regsvr32?

Regsvr32 is an executable file that gets a Dll file name as an argument and runs its DllRegisterServer function to allow pages on that server to access its functions

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here