Catching abnormal exit from Shell

  • 13 years ago

    Does anyone know how to catch an abnormal exit from a shell function?

    e.g. If this failed (i.e. errored duing execution of myapp.exe) Shell("c:\somefolder\myapp.exe -p parameters",AppWinStyle.Hide,True) then how can we tell?

     Thanks all.

  • 13 years ago

    Maybe have a look at the following:

    Not sure if it'll help you out any but it may joggle something else.


  • 13 years ago

     No fraid that didnt help, but thanks anyway

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“If debugging is the process of removing software bugs, then programming must be the process of putting them in.” - Edsger Dijkstra