Click here to Skip to main content
6,933,325 members and growing! (16,161 online)
Email Password   helpLost your password?
 
Platforms, Frameworks & Libraries » Win32/64 SDK & OS » General     Intermediate

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

By Eauthanizor

When we select a dll file in the explorer we can register/unregister it (Regsvr32)
C++.NET1.0, Win2K, WinXP, Visual-Studio, Dev
Posted:4 May 2003
Views:503,020
Bookmarked:27 times
printPrint Friendly   add Share
      Discuss Discuss   Broken Article?Report  
12 votes for this article.
Popularity: 4.14 Rating: 3.84 out of 5
3 votes, 25.0%
1

2

3
4 votes, 33.3%
4
5 votes, 41.7%
5

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


Member

Occupation: Web Developer
Location: United States United States

Other popular Win32/64 SDK & OS articles:

 
Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 19 of 19 (Total in Forum: 19) (Refresh)FirstPrevNext
GeneralMy vote of 1 Pinmembermla1544:32 18 Feb '09  
GeneralRe: Problem and correction [modified] Pinmembermla1549:50 17 Feb '09  
GeneralDo it the Explorer way Pinmembermacerenn6:09 10 Oct '07  
GeneralRe: This is "source-code-style, not actual code" Pinmembermacerenn6:12 10 Oct '07  
Questionhow to register dll PinmemberSwapnil9634:57 26 Aug '07  
AnswerRe: how to register dll Pinmembermacerenn6:20 10 Oct '07  
GeneralPath name with spaces Pinmemberjung-kreidler5:50 4 Jul '07  
GeneralRe: Path name with spaces Pinmemberjdperk9:47 8 Aug '07  
I am using XP Pro and added the keys dllfile-shell-Regsvr23-Command then edit the value data "regsrv32.exe %1" and also setup the Unregsvr32 but when I select a dll in explorer and right click to select Regsrv32 it prompts me to select a program to view. Is there something I am missing here? I am not a registry expert so please write out all the steps. Also what should the Value data be for both entries "regsvr32.exe" "%1" and "unregsvr32.exe" "/u%1" are these correct including the quotation mark placement and spaces?
Questiondll registration Pinmembertras200719:39 24 May '07  
Generalhow can register activex dll for all network user machine or domain controller machine Pinmemberjohn sevillano11:40 12 Sep '06  
Generalwhere exactly does the ""s is added to? PinsussAnonymous6:14 26 Oct '05  
GeneralI don't have them folders PinsussAnonymous16:18 6 Sep '05  
GeneralRe: I don't have them folders PinmemberEauthanizor9:44 28 Dec '05  
GeneralWorks better as "regsvr32.exe %1" PinsussAnonymous17:52 25 Aug '05  
Generalimage link PinsussAnonymous5:42 26 Oct '03  
GeneralDuplicate? PinmemberMatthew Berry22:59 12 May '03  
GeneralSame thing for COM EXEs? PinmemberJosh Hidley15:34 5 May '03  
GeneralBroken Image Links PinmemberSoftomatix15:29 5 May '03  
GeneralI want more... PinmemberErnest Laurentin14:34 5 May '03  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

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

PermaLink | Privacy | Terms of Use
Last Updated: 4 May 2003
Editor: Nishant Sivakumar
Copyright 2003 by Eauthanizor
Everything else Copyright © CodeProject, 1999-2010
Web18 | Advertise on the Code Project