Advertisement

06.10.2008 at 09:31PM PDT, ID: 23474612
[x]
Attachment Details

Using a VB6 DLL w/o a tlb file in a .NET application

Asked by pdarata in .Net Editors & IDEs, Microsoft Visual C#.Net

I am working with a piece of equipment from a third-party vendor that came with a DLL and a sample VB6 application.  I need to use the supplied DLL in a .NET app written in C#.  I tried to add the DLL as a reference but got an error telling me to make sure the DLL was a valid assembly or COM component.  The vendor supplied the DLL and a .lib file but no .tlb file.  How can I access the DLL from my C# application?

Thanks in advance!Start Free Trial
 
 
[+][-]06.10.2008 at 09:36PM PDT, ID: 21756794

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.10.2008 at 09:48PM PDT, ID: 21756859

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.10.2008 at 11:15PM PDT, ID: 21757274

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 02:44AM PDT, ID: 21758184

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .Net Editors & IDEs, Microsoft Visual C#.Net
Sign Up Now!
Solution Provided By: Dauhee
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.23.2008 at 08:22AM PDT, ID: 21847156

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628