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");
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");
See if it helps:
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/f70107c3-43b8-472b-8a7a-7c78b8ac632b
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