Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find out a COM prog id?

I'd like to access a COM library via late binding.
How can I find out its progID?

Type oClassType = Type.GetTypeFromProgID("THE MISSING PROGID");
like image 628
Marc Avatar asked Aug 13 '09 13:08

Marc


1 Answers

The progID is generally going to be of the form Library.Class, you can view what classes a COM library exposes using oleview.

The feature you want in oleview is View TypeLib (three little red triangles). The Library name will be at the top and you will want to use the name of the class as seen under CoClasses

like image 65
cmsjr Avatar answered Nov 16 '22 22:11

cmsjr