Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I step through VB6 ActiveX DLL project from .NET 2005

Status
Not open for further replies.

fr2

Programmer
May 13, 2008
45
US
In VB.NET, I am able to add reference to a "Class Library" project in my solution, .. then step through the "Class Library" code from my main VB.NET app after creating an instance of it. For example

Dim MyObject As New DotNetClassCargo.Customer
Dim strInfoFromCargo As String
strInfoFromCargo = MyObject.TestCall(9)

Supposing I have a VB6 ActiveX DLL project instead, how can I refernce this in my VB.NET app, so that I can step through
the VB6 DLL project code from VB.NET.

IN otherwords with both VB2005 and VB6 open?
 
Essentially the question is can you debug a VB6 ActiveX DLL project ... from a VB.NET IDE?

Just adding reference to the VB6 DLL will allow you to use the DLL methods, properties ..etc ... but it will not launch VB6 to be able to step through the DLL source code to debug. Has someone done it? I hear there are some options to set in .NET to be able to accomplish that!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top