HighTechTalks DotNet Forums  

Adding a reference

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss Adding a reference in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Daffodil
 
Posts: n/a

Default Adding a reference - 03-17-2010 , 11:03 AM






Hi there

I want to add a COM reference to my project. I can see the file I want in
the COM tab (Add reference) but when I want to add it, I receive an error
saying that
"A reference to FILENAME could not be added. the ActiveX type library 'FILE
FULL PATH' was exported from a .NET assembly and cannot be added as a
reference.

Add a reference to the .NET assembly instead."

I am still able to add the file from the Browse tab.

Is the one which I can add through BROWSE tab the same as the one from COM
tab? If so, why can't I add it through COM?

Thanks in advance

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.