Visual Studio Development Bookmark and Share   
 index > Visual Studio Debugger > Debug of VB6 OCX
 

Debug of VB6 OCX

Hi all!

Is it possible to debug a VB6 OCX, of whom I have the source code, put insidea Visual Studio 2008 project?

Thank in advance.
Marco Minerva, marco.minerva@gmail.com
Marco Minerva  Wednesday, September 30, 2009 11:52 AM
Hello,

Sorry for the delay. The blog post you mentioned talks about debugging of DLL ActiveX, not OCX. However, I have resolved the issue contacting the Microsoft Technical Help Support.

Regards
Marco Minerva, EMAIL REMOVED
Marco Minerva  Tuesday, October 13, 2009 7:15 AM
Hi Marco,

This is not supported. You have to debug VB6 OCX in VB6.

VS 2008 supports to debug C++ OCX but not VB6.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Hongye Sun  Thursday, October 01, 2009 6:23 AM

Sorry that my previous reply may be wrong.

I found a blog about debugging VB6 code in VS.NET. For detail, please take a look at: http://blogs.msdn.com/robgruen/archive/2004/11/09/254602.aspx


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Hongye Sun  Wednesday, October 07, 2009 2:44 AM
Hi Marco,

Is this issue resolved?
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Hongye Sun  Tuesday, October 13, 2009 2:02 AM
Hello,

Sorry for the delay. The blog post you mentioned talks about debugging of DLL ActiveX, not OCX. However, I have resolved the issue contacting the Microsoft Technical Help Support.

Regards
Marco Minerva, EMAIL REMOVED
Marco Minerva  Tuesday, October 13, 2009 7:15 AM

You can use google to search for other answers

Custom Search

More Threads

• Compiling errors
• Binary Variable-Watch
• breakpoint not hitting.
• VS 2005 Debugger does "run" instead of "step into"???
• Strange program behavior while debugging
• VS 2005 JS debugging: Cannot find source
• Debugger running wrong version of my Program?
• weakness in conditional breakpoints
• Debugging PDB created with VS 2005 from VS 2008
• Remote Debugging Problem