Link to home
Start Free TrialLog in
Avatar of Rykie
Rykie

asked on

Debug VB6 ActiveX dll from VS.NET

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,

**
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

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.
Avatar of Rykie
Rykie

ASKER

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?

***
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rykie

ASKER

Thank you,

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

Cheers
***
??? It is suppose to work!
Avatar of Rykie

ASKER

I know.

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