ActiveX DLL Registry Entries

How to Track Down Guids

Step 1 - Determine Class IDs for Each Public Class

HKLM\Software\Classes\
    LibRegistry2.clsRegistryEntry\Clsid
        Here's the CLSID for PUBLIC CLASS clsRegistryEntry
        (Default) = "{42A2B69F-11B8-11D6-B183-0EC04F2B62B9}"
    LibRegistry2.clsRegistryKey
        (Default) = "{42A2B6A1-11B8-11D6-B183-0EC04F2B62B9}"
    LibRegistry2.Library
        (Default) = "{42A2B69A-11B8-11D6-B183-0EC04F2B62B9}"

Step 2 - For each CLSID, Determine TypeLib GUID

Here's the CLSID for Public Class clsRegistry
HKLM\Software\Classes\CLSID\{42A2B69F-11B8-11D6-B183-0EC04F2B62B9}\
    (Default) = "LibRegistry2.clsRegistryEntry"
    Implemented Categories\(Default) = not set
        (OtherCLSID)\(Default) = not set
    ProgID
        (Default) = "LibRegistry2.clsRegistryEntry"
    Programmable
        (Default) = not set
    TypeLib
        Here's the TypeLib GUID FOR PUBLIC CLASS clsRegistryEntry
        (Default) = "{42A2B698-11B8-11D6-B183-0EC04F2B62B9}"
    VERSION
        Here's the Version for TypeLib
        (Default) = "1.2"

Step 3 - For each TypeLib GUID, Determine the ActiveX Server Executable

Here's the TypeLib GUID FOR PUBLIC CLASS clsRegistryEntry
HKLM\Software\Classes\TypeLib\{42A2B698-11B8-11D6-B183-0EC04F2B62B9}
    (Default) = not set
    Version for TypeLib
    \1.2
        Description of TypeLib
        (Default) = "_Registry Function Library #2"
        \0
            (Default) = not set
            \win32
                MS-DOS Name of ActiveX server
                (Default) = "C:\Data\CODELI~1\LIBREG~2.DLL" 
        \FLAGS
            (Default) = "0"
        \HELPDIR
            MS-DOS Path of help file(s)
            (Default) = "C:\Data\CODELI~1"

General Case

Class Names and Their DLL Files

Registry Key Description
HKCR\ClassName\Clsid\(Default) The GUID for a given Class Name
HKCR\CLSID\GUID\InprocServer32\(Default) The path of the DLL that implements the specified GUID, which in turn specifies a ClassName

Type Libraries

Registry Key Description
HKCR\TypeLib\GUID GUID's for each type library installed
HKCR\TypeLib\GUID\Version\(Default) Description of the type library, as listed in VB's Project References dialog
HKCR\TypeLib\GUID\Version\(Default)\0\win32\(Default) Path for the file (typically a DLL) that implements the type library