Click here to Skip to main content
Licence 
First Posted 5 Aug 2002
Views 97,697
Bookmarked 13 times

How to register DLL files from the Explorer

By | 5 Aug 2002 | Article
When we select a dll file in the explorer we can register/unregister it (by Regsvr32)

Sample Image - ContextMenu.jpg

Introduction

Have you ever wanted to register DLL files from the Explorer? DLL files that export 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 registry under HKEY_CLASSES_ROOT\dllfile, as in the following:

Registry Image - dllfile.jpg

What is regsvr32?

Regsvr32 is an executable file that gets a DLL file name as an argument and runs its DllRegisterServer function (if exists). As for uninstall, just add the '/u' argument and it calls DllUnregisterServer function (if exists).

That's all.

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

About the Author

Dudi Avramov

Web Developer

Israel Israel

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralSimpler PinsussHugo Hallman5:32 13 Jun '03  
GeneralCorrection PinsussIlia21:19 6 Aug '02  
GeneralSuggestions PinmemberErnest Laurentin4:44 6 Aug '02  
GeneralRe: Suggestions PinmemberThomas Freudenberg6:03 6 Aug '02  
GeneralRe: Suggestions Pinmemberokigan9:31 6 Aug '02  
GeneralRe: Suggestions PinmemberErnest Laurentin17:28 6 Aug '02  
You are right about that. Anyway, the first time you use Depends.exe, it will add these settings in the registry. As for RegSvr32, you are also right, you may remove it and it works fine.
 
As my daughter would say, "... Whatever!"

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120529.1 | Last Updated 6 Aug 2002
Article Copyright 2002 by Dudi Avramov
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid