Click here to Skip to main content
Licence 
First Posted 4 May 2003
Views 528,157
Bookmarked 30 times

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

By | 4 May 2003 | Article
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

About the Author

Eauthanizor

Web Developer

United States United States

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
GeneralMy vote of 1 Pinmembermla1543:32 18 Feb '09  
GeneralRe: Problem and correction [modified] Pinmembermla1548:50 17 Feb '09  
GeneralDo it the Explorer way Pinmembermacerenn5:09 10 Oct '07  
GeneralRe: This is "source-code-style, not actual code" Pinmembermacerenn5:12 10 Oct '07  
Questionhow to register dll PinmemberSwapnil9633:57 26 Aug '07  
AnswerRe: how to register dll Pinmembermacerenn5:20 10 Oct '07  
GeneralPath name with spaces Pinmemberjung-kreidler4:50 4 Jul '07  
GeneralRe: Path name with spaces Pinmemberjdperk8:47 8 Aug '07  
Questiondll registration Pinmembertras200718:39 24 May '07  
Questionhow can register activex dll for all network user machine or domain controller machine Pinmemberjohn sevillano10:40 12 Sep '06  
Questionwhere exactly does the ""s is added to? PinsussAnonymous5:14 26 Oct '05  
GeneralI don't have them folders PinsussAnonymous15:18 6 Sep '05  
GeneralRe: I don't have them folders PinmemberEauthanizor8:44 28 Dec '05  
GeneralWorks better as "regsvr32.exe %1" PinsussAnonymous16:52 25 Aug '05  
Make sure to change the location of the ""s to handle directories that have spaces
Generalimage link PinsussAnonymous4:42 26 Oct '03  
QuestionDuplicate? PinmemberMatthew Berry21:59 12 May '03  
QuestionSame thing for COM EXEs? PinmemberJosh Hidley14:34 5 May '03  
GeneralBroken Image Links PinmemberSoftomatix14:29 5 May '03  
GeneralI want more... PinmemberErnest Laurentin13:34 5 May '03  

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
Web02 | 2.5.120529.1 | Last Updated 5 May 2003
Article Copyright 2003 by Eauthanizor
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid