Results 1 to 2 of 2

Thread: Programmatically check if DLL is registered

  1. #1

    Thread Starter
    Fanatic Member daimous's Avatar
    Join Date
    Aug 2005
    Posts
    657

    Programmatically check if DLL is registered

    hi guys! help please..How can I check if a DLL is registered?

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Programmatically check if DLL is registered

    The information about a registered component is written to the registry. You can either enumerate the HKEY_CLASSES_ROOT/CLSID keys and check for the ProgID, or if this is your own component created in VB then it is also created as HKEY_CLASSES_ROOT/ProjectName.ClassName, under which a ClsID key exists, if the default value for that key is also contained under the HKEY_CLASSES_ROOT/CLSID key then the component is registered.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width