Solved

Debug VB6 ActiveX dll from VS.NET

Posted on 2004-09-08
6
514 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
  • 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

733 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