Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What reference/import doI need for stdole.IUnknown

Status
Not open for further replies.

CJwater

IS-IT--Management
Mar 26, 2008
34
US
I'm converting VBA script code to .net and am not all that familiar with it.

My class contains
Public ReadOnly Property NewEnum() As stdole.IUnknown
Get
NewEnum = m_Terms.GetEnumerator
End Get
End Property

I'm getting an error:
Error 11 Type 'stdole.IUnknown' is not defined.

Do I need a reference or an import statement?

PS:Is there a reference /web site that's helpful for finding such info?

Thanks
CJ
 
figured it out,

1 - select Project,Add reference
2 - select .NET tab
3 - select stdole

Hope it helps someone else!
CJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top