473,320 Members | 1,979 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

VB6 references to .NET interop DLL

I have a VB6 application that want to reference a DLL that was created using VStudio 2005 .NET. When I open Project+References I can see an instance of the desired DLL in the list of referencable objects.

My problem is this - whenever I recompile the DLL the path for the object reference changes to match the path to the latest version of the DLL. If, in the VB6 project, I try to browse to a previously compiled version on another path I cannot establish a reference to the desired (older) copy of the DLL. Thus, if I ever make even a trial modification of the DLL and then try to recompile my VB6 app, I run the risk of referencing the (latest) wrong version of the DLL.

How can I avoid this problem and make it possible for the VB6 app to reference any desired DLL on any path regardless of which copy of the DLL was compiled last?
Oct 10 '07 #1
0 1150

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: keefah | last post by:
Hi, I'm writing a C# web app that uses Outlook to send email. I use a reference to the Microsoft Outlook 11.0 Object Library, but it's giving me problems. I tracked down some stuff on the Net...
9
by: [Yosi] | last post by:
Any one know where can find a references to download and add to my solutions, I need : - System.Diagnostics -System.Configurations -Microsoft.Win32.Interop I don't have them in my machine ,I...
8
by: Rob Edwards | last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message: "A reference to 'Microsoft CDO for Exchange Management Library' could not be...
0
by: Chavez | last post by:
Hi, I was building a deployment project and included the manifest file directly in the application folder (perhaps not wise) so that the exe would display in XP style. When I built the...
7
by: Bill Schanks | last post by:
I created an Excel Automation Windows Application (VB.Net 2003) and it works on the development machine fine. However when I run it on another machine I get this error: ...
5
by: Charlie J | last post by:
I have converted a vb6 dll into vb.net and gone through all of the code and changed it to .net format. I have attempted to get rid of all Interop code so that the dll will compile with only .net...
2
by: Lionel | last post by:
Hi, I've created a C# custom control that references some ActiveX controls. I need to host this control on a form that also hosts the same ActiveX controls. So I add the custom control and...
2
by: JC | last post by:
Anybody knows what problem has this code? I think, in the Garbage Collector? You know the Solution? The program in the test's case, whit 350 contacts, run OK before number 86. The error is a...
1
by: =?Utf-8?B?bm9ybXNjaGFlZg==?= | last post by:
Hi all: Several years ago I wrote an application which used Powerpoint Object Library 11. Now I'd like to update the application for Office 2007 users. While using Library 12 works fine in the...
20
by: David Thielen | last post by:
Hi; When we add a reference to a web app, where is that information stored? There is no project file, it's not in the web.config or solution file. ??? - thanks - dave ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.