ObjectNameLookup Object

Description

Looks up the CLSID for given ProgIDs and vice versa.

This can be used to check that a given component is installed.

Methods

CLSIDFromProgId

ProgIDFromCLSID

Example

Set ol = CreateObject("Toolsack.ObjectNameLookup")
clsid = ol.CLSIDFromProgId("Toolsack.ObjectNameLookup")
MsgBox "The CLSID for ObjectNameLookup is : " & clsid
 
If ol.ProgIdFromCLSID(clsid) <> "Toolsack.ObjectNameLookup" Then
MsgBox "Error"
End If

Samples

Diagnose CreateObject - Checks for reasons why CreateObject Fails.

Articles



We always want to hear your feedback. Send to feedback@toolsack.com.
© 2000-2001 Toolsack Software Ltd.