|
-
Dec 5th, 2007, 05:07 AM
#1
Thread Starter
Fanatic Member
Programmatically check if DLL is registered
hi guys! help please..How can I check if a DLL is registered?
-
Dec 5th, 2007, 05:44 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|