I have a VB.NET project that references a VB6 ActiveX DLL project but what I need to do is add the DLL project to .NET project so that I can step through from the .net project to the VB6 project.
Is this attall possible?
Printable View
I have a VB.NET project that references a VB6 ActiveX DLL project but what I need to do is add the DLL project to .NET project so that I can step through from the .net project to the VB6 project.
Is this attall possible?
I believe no, not possible.
Yes, it is possible if you have the source code for the .DLL
its not possible to even reference a VB6 project in .net, let alone debug it.. unless I am missing something?? :confused:
I have to think about doing it with a .DLL. I have done this with an ActiveX EXE. It may be necessary to define a parent executable from the .DLL project.
Either way, you will need Visual Studio 6.
No, you can reference COM.Quote:
Originally Posted by kleinma
Sorry, I didn't see you say vb6 project. Leave me alone.
:wave: waddaya think im a .net noob??? im only 1/4 a .net noob nowQuote:
Originally Posted by mendhak
Simon,
Do you have Visual Studio 6? If so, and you have the source code from the ActiveX DLL, you can load the project, and launch it in debug mode via an external application like this:
Yes, I have VB6 and the source code for the DLL.
However, I am unsure as to what I need to put in the Start Program box...
Do I have to put the path to my .NET solution file?
I think you have to browse to devenv.exe (vs.net) and specify it there. Try it out, this is the first time I'm seeing that as well.
I think now's a good time to reveal the fact that my project is actually an ASP.NET project... :o
Hmmm...this time, when it attempts to call the actual method of my ActiveX DLL, I get this error: "QueryInterface for interface XXX failed."
:confused:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322Quote:
Originally Posted by simonm
aspnet_wp.exe
?