I am developing a component in .Net 1.1, and want to debug it using the
"start external program" of the debugger in the IDE. The program I want
to start references both 1.1 and 2.0 components. The problem is that
when I launch this from VS2003, the external program starts only for a
moment and then bails out of memory
with no error, and the ide returns to a stopped state awaiting my
input. If I remove the 2.0 framework, at least the external app will
start up and stay in memory, but I will get the error (as expected)
that some pieces could not be found (i.e. pieces of the 2.0 framework).
Should not VS2003 (which is based on framework 1.1) be able to run
under 2.0 as they are backward compatible???
Thanks for your help,
Marcus
Maligui - 19 Oct 2006 06:38 GMT
Have you tried the process.start method?
Dim q As Process
q = Process.Start("C:\windows\Notepad.exe")
q.WaitForExit() 'optional

Signature
Thiele Enterprises - The Power Is In Your Hands Now!
>I am developing a component in .Net 1.1, and want to debug it using the
> "start external program" of the debugger in the IDE. The program I want
[quoted text clipped - 10 lines]
> Thanks for your help,
> Marcus
holysmokes99 - 24 Oct 2006 15:36 GMT
Would that method have the same effect as using the "start external
program" method in the debugger? I would think that using your method
the external program would not be able to jump into my code at the
appropriate place so I could utilize the debugger and step through code
of the project I am developing.
Marcus
> Have you tried the process.start method?
>
[quoted text clipped - 19 lines]
> > Thanks for your help,
> > Marcus