473,721 Members | 2,230 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why Interop in BIN folder for ActiveX DLL in debug mode is deleted

Hi all

I have a .NET application that is using few ActiveX DLL wrote in VB6. I
managed to get the most from my previous VB6 controls by using them in .NET
but sometimes when I am using my ActiveX DLL in debug mode the associated
Interop DLL in the BIN folder is deleted and my DLL Reference in the .NET
project is broken as I see the Yellow Sign on top of it.

I think that some illegal operation on the ActiveX DLL side may force .NET
to completely remove this Interop DLL from BIN folder?
There is any possible protection against this kind of radical reaction from
..NET side when something get wrong on ActiveX DLL side when use in Debug Mode?

Not only is that Interop DLL deleted but when I try to add it back from Add
Reference my ActiveX DLL that was in the list of References is not there
anymore?

The only way to recover this lost Reference is to Rebuild again my ActiveX
DLL in VB6. After rebuilding this ActiveX DLL then I may get back the lost
Reference and add this DLL to my .NET project.

I am not sure but I have the feeling that this happens only when I am using
that ActiveX DLL in debuging mode and not in Release mode!

My question is anyone experienced this before?

Is that possible that this broken reeference happens also in the field at
customer site with the DLL Released version?
Thanks for all inputs

Sorin
Jul 21 '05 #1
0 1170

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
3888
by: Andrew Chalk | last post by:
I have an ASP 3.0 page that contains an ActiveX control that I wrote in VC++ v6.0. Under Visual Interdev I can debug the ASP code just fine. However, when I get to an ASP line that references my ActiveX control the debugger does not go inside my C++ code allowing me to debug the ActiveX control. If I load the ActiveX control project from VC++ with Internet Explorer as the debug executable I have the same problem. Break points in the ActiveX...
1
8645
by: Craig | last post by:
I am having problems getting an ActiveX DLL written in VB6 to call a method in a C# class library component. My C# DLL is called CSharpProject.dll and contains a public class called CSharpClass. In this class is a single public method that returns the string "Hello from C sharp". My VB6 ActiveX DLL references the C# DLL (CSharpProject.dll) using the
7
9998
by: Munsifali Rashid | last post by:
Hi, I've built a webservice in C# that can add public folders to Exchange. There's also a component built in VB6 which references the Outlook 10 (XP) DLL, so I can change the default form being used to post to a public folder. The component works fine when instantiated from a Windows script, but when using it from COM Interop in an ASP.NET web application it errors when trying to execute oNs.GetNameSpace("MAPI"). The error it throws...
3
2517
by: Jeffery Franzen | last post by:
Anyone know where the documentation is regarding Activex controls in asp web forms? I'm using VS.NET 2002 enterprise and am trying to use Activex controls in vb.net web form app. I do the add control to pallete and then add a reference. I get the interop dll added to bin folder. I did this with the MediaPlayer activex control as a simple case to to try and get it working. I set the control to autostart via the html parameter tag for...
1
3960
by: Pawan | last post by:
I am calling one ActiveX Exe(Made in VB 6) component from one VB.NET dll component. I am able to get the result from ActiveX Exe . But I want to run whole application in Debug mode. I am able to debug the VB.NET application, But when code make object of AcitveX Exe then it doesn't invoke Debugger of VB6. I Want to run ActiveX Exe also in Debugging mode.
0
883
by: Sorin | last post by:
Hi all I have a .NET application that is using few ActiveX DLL wrote in VB6. I managed to get the most from my previous VB6 controls by using them in .NET but sometimes when I am using my ActiveX DLL in debug mode the associated Interop DLL in the BIN folder is deleted and my DLL Reference in the .NET project is broken as I see the Yellow Sign on top of it. I think that some illegal operation on the ActiveX DLL side may force .NET to...
24
7555
by: biganthony via AccessMonster.com | last post by:
Hi, I have the following code to select a folder and then delete it. I keep getting a Path/File error on the line that deletes the actual folder. The line before that line deletes the files in the folder but I get the error message when the procedure attempts to delete the folder selected in the BrowseforFolderbyPath function. How can I get it to delete the folder that the user has selected in the Browse for Folder dialog?
0
1465
by: =?Utf-8?B?TWlrZVo=?= | last post by:
VB.NET 2005 Release Folder and Debug Folder confuse me a lot. I used a application configuration file which locate in the same folder as EXE file. The config file is set by application. When I use debug mode, VB.NET use the config file in Debug folder. I want to use the same config file for both release and debug mode, and don't want to change the compile folder to bin\debug. Thanks.
9
2916
by: Keith G Hicks | last post by:
I'm having a lot of trouble with "file in use" errors in my "folder watcher" project. Starting and stopping the watcher and reading my XML file work fine. Once the watcher is started, I'm reading the text files from the watched folder line by line into variables and then posting them to a SQL table. All of the code for the form is shown below. And it works fine except for 2 issues. First issue: In the Finally of the Try for teh SQL...
0
8858
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9376
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9148
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8026
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4499
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4762
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3207
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2596
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2146
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.