Solved

Debug VB6 ActiveX dll from VS.NET

Posted on 2004-09-08
6
516 Views
Last Modified: 2008-02-01
Hello,

I have a ActiveX COM dll that was created in VB6. I did not create it and I would like to debug it from VS.NET. I have the sourcecode and VB Project files.

Is that possible and how?

Thank you,

**
0
Comment
Question by:Rykie
[X]
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
  • 3
  • 3
6 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12012483
Open your VB6 project in the VB6 IDE.
Set breakpoints in your code.
Start your VB6 ActiveX (press F5). I a question pops, select something like "wait for an instance to be created"
Open your C# (or VB.Net application)
Add a reference to your VB6 component.
Start your C# application.
0
 

Author Comment

by:Rykie
ID: 12012597
hmmm.....

The C# project is an ASP project and the ActiveX COMponent is a .dll file I reference in the C# project.

How would I debug this?

***
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 250 total points
ID: 12012707
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

Author Comment

by:Rykie
ID: 12023244
Thank you,

That does not work, but since there are no other solutions I'll give it to you.

Cheers
***
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12023347
??? It is suppose to work!
0
 

Author Comment

by:Rykie
ID: 12023473
I know.

But hey, it could be XP SP2 that causes it not to work, who knows!!!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

691 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