Obtain the Globally Unique Identifier (GUID) from a Running COM Object

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Intermediate
Author:
Chong Long Choo

Version Compatibility:

More information:
Requires a reference to TypeLib Information.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: