Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

interop for vb6 dll

Posted on 2013-05-14
3
464 Views
Last Modified: 2013-05-21
We have created a VB6 dll that will need to be referenced in a .Net (VS 2010) project.  Normally when I reference com dlls, such as Microsoft.Excel, I see an interop being created in the references.  When I reference this dll, by browsing to it, the reference is created, but without the interop.  Do I somehow need to create an interop?  How do I do that?
0
Comment
Question by:g_johnson
  • 2
3 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 39165784
Did you build the VB6 DLL as a COM component? I'm not fully sure why there are Interop* libraries for Office libraries (maybe they are wrappers around the new libraries), but if you exposed your VB6 as a COM component, then you should be able to use the library once you add the reference--no need to worry about an "Interop" piece.
0
 
LVL 4

Author Comment

by:g_johnson
ID: 39166066
I guess I don't know what you mean by "build as a COM component."  I'm not the VB6 programmer, but all we do is "Make" the dll.
0
 
LVL 4

Author Closing Comment

by:g_johnson
ID: 39185409
As it turns out, the Interop was created, i.e., an interop file existed in the bin folder, but it didn't have "interop" in the reference name in the IDE like I'm used to seeing.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question