PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft VB .NET
"Start external program" no longer works in VS2003 once 2.0 framework installed
Forums
Newsgroups
Microsoft DotNet
Microsoft VB .NET
"Start external program" no longer works in VS2003 once 2.0 framework installed
![]() |
"Start external program" no longer works in VS2003 once 2.0 framework installed |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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 > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

