Solved

Debug VB6 ActiveX dll from VS.NET

Posted on 2004-09-08
6
511 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now