You have to create a com wrapper, there is a command line utiltity for this
(tlbimp). Then add a reference to the wrapper. If you need to talk to com
objects on the fly, then you will need to learn the com-interop library as
..net code can not call com objects directly.
Note: when you add a com object with VS, it runs the utiltiy for you, and
adds the reference.
-- bruce (sqlwork.com)
"Scott James" <sjames (AT) adi (DOT) com> wrote
Quote:
How does one add a reference to a COM class using VSA. I don't see an
obvious method for making this happen. Is it an IVsaReferenceItem or
an IVsaGlobalItem?
Are there any convenient ways to browse for the COM component?
Scott. |