473,573 Members | 5,052 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"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

Oct 17 '06 #1
2 1756
Have you tried the process.start method?

Dim q As Process

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

--
Thiele Enterprises - The Power Is In Your Hands Now!
"holysmokes 99" <ho**********@h otmail.comwrote in message
news:11******** **************@ f16g2000cwb.goo glegroups.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

Oct 19 '06 #2
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\Note pad.exe")
q.WaitForExit() 'optional

--
Thiele Enterprises - The Power Is In Your Hands Now!
"holysmokes 99" <ho**********@h otmail.comwrote in message
news:11******** **************@ f16g2000cwb.goo glegroups.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
Oct 24 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4412
by: Hal Vaughan | last post by:
I know that I need to launch a VBS file on Windows this way: Win9x: Runtime.getRuntime().exec("start script.vbs"); WinNT: Runtime.getRuntime().exec("cmd /c start script.vbs"); I'm doing this, and verifying what the command line looks like before I try
11
2321
by: tdi | last post by:
Ok, stupid question for the day. I'm reading the interview with Steve Moret and he says: "Once a lot of scripts started going in we knew there was no way we could back out of using Python." I'm just getting into Python and am wondering if I'm missing something or this is just a semantic issue. Thanks. -Ted
0
1895
by: The Last Danish Pastry | last post by:
A couple of days ago there was a thread "Returning the machine epsilon". The responses in that thread suggested using Double.Epsilon or Single.Epsilon. Since both these seem to return zero I thought I would try to compute these epsilons myself. Using the following program fragment: =================================== private void...
1
3624
by: Chris | last post by:
I built small C# Web and Web Service applications in a training class last week. The applications worked in the class, but when I tried to run them again over the weekend, they both bombed. Instead of getting my Web page, or the Web Service page, I get a page full of error text (below). I am hoping the anwser will be obvious to someone. ...
1
4412
by: Mary Kerrigan | last post by:
I'm tearing out my freakin' hair on this one. Trying to deploy an ASP.NET site on a Windows 2000 Advanced Server. The framework v1.0.3705 was already installed, not by me. When I tried to get to a page that accesses data, I get this error, that begins with: "Cannot execute a program. The command being executed was...
3
11715
by: Dean Slindee | last post by:
The code below is being used to launch WinWord.exe from a VB.NET program. Word launches, but displays this error message: "Word has experienced an error trying to open the file. Try these suggestions. 1) Check the file permissions for the document or drive. 2) Make sure there is sufficient free memory and disk space. 3) Open the file with...
0
1907
by: LBeveridge | last post by:
Hi, This morning I installed Visual Studio 2005 side-by-side 2003. The first problem I've noted is that projects in 2003 that have "Start External Program" set don't do that. I'm creating a DLL plug-in for ArcMap (an ESRI product), so I set the external program to point to its EXE. When debugging, it shows the splash screen of the...
1
1988
by: Tom | last post by:
After completing my app, I moved it to the production server. It ran ok for two days on the production server. Then, I made a change to the login process, which forced a dynamic compile(I do not pre-compile). At first, I would get the error only on the page I changed but within a couple hours, now I get the error on any page. IIS...
4
3237
by: =?Utf-8?B?U0g=?= | last post by:
There seems to be an issue with .NET 3.5/Visual Studio 2008 (Team System). After convincing my company to create our latest project in .NET 3.5, this is kind of reflecting bad on me. Problem: Solution will NOT compile. Error is simply: "External component has thrown an exception". NO other details.
0
7789
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8037
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8086
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6432
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5605
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5296
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3737
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3743
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2227
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.