[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.interop

adding reference to an COM-object in VB doesn't work

diego

8/27/2007 12:17:00 PM

I have the follwing problem. I want to add a reference to an COM-
object ("ek1.exe").

In Excel-VBA it works without any problems.


In MS Visual Studio 2005 VB this doesn't work and I get the error
message:
"A reference to 'z:\ek1.exe' could not be added. Please make sure
that
the file is accessible, and that is a valid assembly or COM
component."


Any help is highly appreciated.


Thanks in advance!
Diego


p.s.: I use follwing versions:
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727


Excel 2003 (11.8134.8132) SP2