ross13
asked on
Help with type library .tlb file
Hi,
I was wondering if someone can help. I have created a class library and have generated and registered a type library (.tlb) file and have successfully managed add this in a project that I need to use this file.
The only problem is when I make the call to the class within this file it’s now looking for files that I have referenced within that library. I have tried copying all the files from my release folder to the location where I have the application without any success.
Any help would be appreciated.
Regards,
Ross
I was wondering if someone can help. I have created a class library and have generated and registered a type library (.tlb) file and have successfully managed add this in a project that I need to use this file.
The only problem is when I make the call to the class within this file it’s now looking for files that I have referenced within that library. I have tried copying all the files from my release folder to the location where I have the application without any success.
Any help would be appreciated.
Regards,
Ross
ASKER
Hi,
I initially created a library file (.dll) using visual studio 2008 (.NET 3.5) and was trying to reference this using a Microsoft access application (version 2003) that someone else has developed.
I asked another question the other day that allowed me to add this reference this via the access application by creating a .TBL file:
https://www.experts-exchange.com/questions/26831994/Help-adding-dll-file-to-MS-access.html
I then tried to call a class within this and the access application gave the following message:
"could not load file or assembly or one of its dependencies. The system can not find the specified file”
The message gave the name of a file that I reference in the visual studio application that I compiled as a .TBL file.
Cheers,
Ross
I initially created a library file (.dll) using visual studio 2008 (.NET 3.5) and was trying to reference this using a Microsoft access application (version 2003) that someone else has developed.
I asked another question the other day that allowed me to add this reference this via the access application by creating a .TBL file:
https://www.experts-exchange.com/questions/26831994/Help-adding-dll-file-to-MS-access.html
I then tried to call a class within this and the access application gave the following message:
"could not load file or assembly or one of its dependencies. The system can not find the specified file”
The message gave the name of a file that I reference in the visual studio application that I compiled as a .TBL file.
Cheers,
Ross
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I am confused what you are really working with, and I need to ask some preliminary questions:
1) .NET version?
2) Are you trying to create a .NET assembly that is accessible in COM?