By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,283 Members | 1,287 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,283 IT Pros & Developers. It's quick & easy.

COM object without type library, can I list the interfaces it supports?

P: n/a

Ok, this is how I've created my object. The GUID is correct and I can see
in task manager the program running. How do I enumerate or list the
interfaces supported by "t"? Does the component handling ThermaGRAM.Image
need to be an automation object?

Dim arrayMethodInfo() As MethodInfo
Dim t As Type = Type.GetTypeFromProgID("TTREditor.Image ")
Console.WriteLine("GUID for ProgID TTREditor.Image is {0}.",
If Not t Is Nothing Then
Dim o As Object = Activator.CreateInstance(t)
End If
Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.