Hello,
I'm developing an command line tool which is started by another application Is there a way to handle all posiple errors with in my application an set an error code for the application manual at the end, so that i can tell the application, which started the commandline tool, that there was an error
Thanks,
Chris

return value from a application
Gene vantreese
Mobile Rob
nmullane
Shamez
Dan Hess
Yes
when exiting the application do:
Environment.Exit(int theErrorNumber)
you can specify to the Exit() method an error number