Solved

How to use a .Net 2.0 dll in a Visual Basic 6.0 project?

Posted on 2008-09-30
3
286 Views
Last Modified: 2013-11-26
We have an application created in C# 2005 using .Net framework 2.0 that prompts the user for inputs and then pops up some dialog boxes.
I also have the dll for this application as a com interop.

I would like to call this C# application from another VB 6 project. Probably I will have to provide references for the .net 2.0 dll in the VB 6 project.

Please advise if its possible? if yes, how can this be accomplished?

Thanks in advance!

0
Comment
Question by:vdesai_8
3 Comments
 
LVL 27

Accepted Solution

by:
VBRocks earned 500 total points
ID: 22609523
Here's a couple of articles I wrote at The Code Project.  Take a look at them and see if they can help you out:

    Creating COM DLL with VS 2005:  A walkthrough
    http://www.codeproject.com/KB/COM/VS2005ComDllWalkThru.aspx

    Registering COM DLL with VS 2005:  A walkthrough
    http://www.codeproject.com/KB/COM/VS2005RegisteringComDLL.aspx
0
 
LVL 8

Expert Comment

by:Leo Eikelman
ID: 22647092
The informaiton here shows you how to create an MSI, which you can distribute on multiple machines.

http://juststuffreally.blogspot.com/2008/02/distributing-net-dll-for-use-by-vb6.html
0
 

Author Closing Comment

by:vdesai_8
ID: 31501704
Thanks!
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now