Home All Groups Group Topic Archive Search About

"Start external program" no longer works in VS2003 once 2.0 framework installed

Author
17 Oct 2006 11:14 PM
holysmokes99
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

Author
19 Oct 2006 5:38 AM
Maligui
Have you tried the process.start method?

Dim q As Process

q = Process.Start("C:\windows\Notepad.exe")
q.WaitForExit()    'optional

--
Thiele Enterprises - The Power Is In Your Hands Now!
Show quote
"holysmokes99" <holysmoke***@hotmail.com> wrote in message
news:1161126871.784380.281090@f16g2000cwb.googlegroups.com...
>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
>
Author
24 Oct 2006 2:36 PM
holysmokes99
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


Maligui wrote:
Show quote
> Have you tried the process.start method?
>
> Dim q As Process
>
> q = Process.Start("C:\windows\Notepad.exe")
> q.WaitForExit()    'optional
>
> --
> Thiele Enterprises - The Power Is In Your Hands Now!
> "holysmokes99" <holysmoke***@hotmail.com> wrote in message
> news:1161126871.784380.281090@f16g2000cwb.googlegroups.com...
> >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
> >

AddThis Social Bookmark Button