Need help on debugging of vb6 code that is used in .net application -
my .net application using vb6 controls , libraries. can not debug vb6 code through .net application. can me out, how can debug vb6 code using s user control in .net application.
i not sure can or not, have gotten ideas following link:
if double-click project in solution explorer , go debug tab you'll see option says "start external program." select option , type in "c:\program files\microsoft visual studio\vb6.exe." (with quotes).
after that, put full path .vbp file in command line arguments (also quotes around it). when run vs fire vb6, , debugger's attached. can set , hit breakpoints in normal way you're used to.
alternately can using tools->attach process, find first approach easier. set once , don't have worry again.
one thing watch if hit stop in vs2005, vb6 program exit without prompting save, if make changes in vb6 project make sure click save before pressing f5 (in vb6).
hope helps, please let know if have issues this.
Comments
Post a Comment