T
Tim Zych
Stumped here.
When I access a ComClass enabled library in Excel on the development
machine, it works fine. When I install the app on another machine, and try
to access it, I get an error:
"File or assembly name DotNetApp, or one of its dependencies, was not
found."
I have a Class Library vb.net solution. It uses ComClass method to make it
accessible from a COM application (Excel). The "register for COM interop" is
checked. It also uses a 3rd party control. After I install the app, I can
see the 3rd party DLLs as well as the DotNetApp.DLL and DotNetApp.TLB in the
destination directory.
An Excel macro instantiates the class and shows a form. When I run this from
the development machine, it works fine.
When I install it onto another machine and try to instantiate the class, it
errors.
Dim c As DotNetApp.ClassName
Set c= New DotNetApp.ClassName ' ERROR
The 2nd line produces an error:
"File or assembly name DotNetApp, or one of its dependencies, was not
found."
What am I not doing, or doing wrong?
When I access a ComClass enabled library in Excel on the development
machine, it works fine. When I install the app on another machine, and try
to access it, I get an error:
"File or assembly name DotNetApp, or one of its dependencies, was not
found."
I have a Class Library vb.net solution. It uses ComClass method to make it
accessible from a COM application (Excel). The "register for COM interop" is
checked. It also uses a 3rd party control. After I install the app, I can
see the 3rd party DLLs as well as the DotNetApp.DLL and DotNetApp.TLB in the
destination directory.
An Excel macro instantiates the class and shows a form. When I run this from
the development machine, it works fine.
When I install it onto another machine and try to instantiate the class, it
errors.
Dim c As DotNetApp.ClassName
Set c= New DotNetApp.ClassName ' ERROR
The 2nd line produces an error:
"File or assembly name DotNetApp, or one of its dependencies, was not
found."
What am I not doing, or doing wrong?