473,503 Members | 2,435 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

capture that error

I'm running a process that has the following StartInfo:

ProcessStartInfo psI = new ProcessStartInfo(whatever, whatever);

psI.RedirectStandardOutput=true;

psI.RedirectStandardError=true;

psI.UseShellExecute = false;

psI.CreateNoWindow = true;

psI.ErrorDialog=false;

But occasionally, the process generates a messagebox with an error message
from that process (not my .net code), bascially that the process has
encountered an error and will be stopped. I cannot capture the error unless
a user clicks "OK" on this messageBox. What can I do to prevent this
messagebox from popping up or how can I harness it? RedirectStandard error
doesn't seem to work and ErrorDialog doesn't either.....

thnx
Nov 15 '05 #1
0 976

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

Similar topics

3
13448
by: Me Mine | last post by:
i, I have trying to code a small console app that will allow a user to select a window and then create a screen capture of the window. I haven't been able to figure out how to do the screen...
0
1484
by: Ravi | last post by:
Hi, I've tried creating a capture graph twice for the same camera device in the same program. But, the second time I try to create graph for the device, Im getting an error at the "RenderStream"...
1
2944
by: xc | last post by:
Greetings. I encountered a wield problem when grabing screen images. Sometimes in some computers I can capture the screen, but other times not so. In some computer I cannot capture the screen...
0
1404
by: Mark Barinstein | last post by:
Hello. W2K, v7, FP10a. Sometimes capture program terminates with such messages in db2diag.log file: ----- 2004-06-09-15.55.18.813000 Instance:DB2 Node:000 PID:1844(db2syscs.exe) ...
10
17697
by: Rattanak Song | last post by:
Hi, I'm trying to build a database which can capture a still image from a digital camera or web cam and import to the database via an Object or something like that. Any help would be very...
8
6244
by: standish22 | last post by:
I want to programmatically capture an error that is done from a Shell command in VB.Net code. What I have is a Test.sql file that looks like ---------------------------------------------------...
8
2558
by: Ken Sturgeon | last post by:
I have a button inside a panel control. Apparently I can't expect VB to respond to the button's _Click event. How do I capture the click event? Thanks Ken
3
4344
by: jkantner | last post by:
I am importing text files and using the data to create the records for a table with keys. If the user tries to import the same files twice, they get the huge error message that includes 'can't...
0
1812
by: Roger | last post by:
I am in the process of installing DB2 Replication V 8.2 for Z/os on my test system. When I start the ASNSTRC (capture) with RRS shutdown, it switches to CAF and starts up. However, if I have RRS...
0
3464
by: j101 | last post by:
I am attempting to set up Q Capture on RH Linux (x86_64) using DB2 9 fp2, but there seems to be a general problem loading a specify MQ shared library "/opt/mqm/lib/libmqm_r.so". I have MQ v6...
0
7063
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7313
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6970
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7441
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...
0
5558
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,...
0
4663
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...
0
3146
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1489
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 ...
1
720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.