How To Call CLSID And ProgID Related COM APIs in Visual Basic (183544)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q183544 SUMMARY
This article demonstrates how to use a set of related Component Object
Model (COM) APIs that retrieve and manipulate CLSIDs and ProgIDs. The
following APIs are discussed:
- CLSIDFromProgID: To retrieve the CLSID of a COM object with a given
ProgID.
- StringFromCLSID: To convert a CLSID structure to a string.
- CLSIDFromString: To convert a CLSID in string format to a structure.
- ProgIDFromCLSID: To retrieve a ProgID with a given CLSID.
Modification Type: | Minor | Last Reviewed: | 3/11/2005 |
---|
Keywords: | kbhowto KB183544 |
---|
|