473,465 Members | 1,458 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Step from VB6 to .Net (COM) in Debug Mode?

I thought I had done this before but don't seemn to be able to make it work
now. I have a .Net assemply I have exposed to COM and I am getting an error
in a method call from VB6, how can I step into the .Net code and debug it?
--
Terry
Aug 15 '08 #1
2 1279
"Terry" <Te****@nospam.nospamschrieb:
>I thought I had done this before but don't seemn to be able to make it work
now. I have a .Net assemply I have exposed to COM and I am getting an
error
in a method call from VB6, how can I step into the .Net code and debug it?
Keep both projects (.NET, VB6) open in the IDE, start the VB6 project and
then choose "Debug" -"Attach process..." from VS' menu and attach to
"VB6.exe".

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Aug 15 '08 #2
Thanks! Got it.
--
Terry
"Herfried K. Wagner [MVP]" wrote:
"Terry" <Te****@nospam.nospamschrieb:
I thought I had done this before but don't seemn to be able to make it work
now. I have a .Net assemply I have exposed to COM and I am getting an
error
in a method call from VB6, how can I step into the .Net code and debug it?

Keep both projects (.NET, VB6) open in the IDE, start the VB6 project and
then choose "Debug" -"Attach process..." from VS' menu and attach to
"VB6.exe".

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Aug 15 '08 #3

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

Similar topics

2
by: Beth via .NET 247 | last post by:
I have written a service in VB.Net. I have installed the service using InstallUtil. I was able to start the service, but once I attach to and try to debug the service it will not step into my...
6
by: Alpha | last post by:
Hi, I'm fixing a bug in an application and need to step thru the appl to find where it's occuring. The main project includs 33 other projects each having a .resx file in it. When I step through it...
2
by: Vikram Sinha | last post by:
Hi, I am unable to step into a method call on a webservice(WS) from a webform(WF) when WS and WF are located in separate VS.NET solutions. When I try to step in, step over occurs. BTW, I am...
0
by: Robert Millman | last post by:
under ASP.NET, single stepping in debug mode appears not to stop within event procedures. i.e. 1) Create web page with submit button and event procedure for the click event in the code behind...
3
by: R Millman | last post by:
under ASP.NET, single stepping in debug mode appears not to stop within event procedures. i.e. 1) Create web page with submit button and event procedure for the click event in the code behind...
5
by: Peter | last post by:
I write some codes and compiled them into a DLL file,also I have a project to reference the dll. They can work fine. Now I want to add some functions to the DLL and debug it, but I can't step into...
1
by: Rob R. Ainscough | last post by:
I ran a clean solution on my set of core assemblies (DLLs) and rebuild -- now my windows forms application can no longer "step into" my core DLL references via Debug mode? Any suggestions? I...
22
by: semedao | last post by:
Hi , I am using asyc sockets p2p connection between 2 clients. when I debug step by step the both sides , i'ts work ok. when I run it , in somepoint (same location in the code) when I want to...
0
by: =?Utf-8?B?bWFydGluMQ==?= | last post by:
All, I use Visual Studio 2005, only step over mode show up, cannot find step in and step out mode, any one can help thi sout? Thanks, Martin
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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...

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.