T
Tony
I am running an application called AcroComm.exe to poll time clocks here at
our company. I have written a small C# app that will poll the clocks based
on information found in a DB. My problem is that AcroComm will sometimes
stop polling in the middle of the process and terminate. The programing
manual for the app says that it sends a code to the operating system when it
is done that tells what has happend like the following:
0 success
13 aborted
etc...
When it aborts the downloading, my program doesn't know it, it just goes to
the next line of code and continues to poll the next clock. I am using code
like this: System.Diagnostics.Process.Start("AppPath\Name", "Command Line
Parameters")
How can I hook in and see what the code was that the process returned to the
operating system? If you need more info or an exact snipet of code, please
feel free to ask.
Anthony
our company. I have written a small C# app that will poll the clocks based
on information found in a DB. My problem is that AcroComm will sometimes
stop polling in the middle of the process and terminate. The programing
manual for the app says that it sends a code to the operating system when it
is done that tells what has happend like the following:
0 success
13 aborted
etc...
When it aborts the downloading, my program doesn't know it, it just goes to
the next line of code and continues to poll the next clock. I am using code
like this: System.Diagnostics.Process.Start("AppPath\Name", "Command Line
Parameters")
How can I hook in and see what the code was that the process returned to the
operating system? If you need more info or an exact snipet of code, please
feel free to ask.
Anthony