PC Review Forums Newsgroups Microsoft DotNet Microsoft VB .NET "Start external program" no longer works in VS2003 once 2.0 framework installed

Reply

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

 
Thread Tools Rate Thread
Old 18-10-2006, 12:14 AM   #1
holysmokes99
Guest
 
Posts: n/a
Default "Start external program" no longer works in VS2003 once 2.0 framework installed


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

  Reply With Quote
Old 19-10-2006, 06:38 AM   #2
Maligui
Guest
 
Posts: n/a
Default Re: "Start external program" no longer works in VS2003 once 2.0 framework installed

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" <holysmokes99@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
>



  Reply With Quote
Old 24-10-2006, 03:36 PM   #3
holysmokes99
Guest
 
Posts: n/a
Default Re: "Start external program" no longer works in VS2003 once 2.0 framework installed

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:
> 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" <holysmokes99@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
> >


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off