Solved

Debug VB6 ActiveX dll from VS.NET

Posted on 2004-09-08
6
509 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 69

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 69

Accepted Solution

by:
Éric Moreau earned 250 total points
ID: 12012707
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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 69

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Service to Receive TCP Packets 4 117
Syntax error 9 45
Not showing JavaScript in the list 5 35
Help with C#, MVC, razor. 6 18
Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…
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 …

932 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

15 Experts available now in Live!

Get 1:1 Help Now