Hi out there,

I created a VB-program that calls another application via shellexecute.
That app is a backup program, that gets commandline parameters from my VB-program.

Now sometimes the backup program crashes, and the backup files are not correctly finished or incomplete.

The backup program delivers a returnvalue that is 0 when it completes the backup successfully, if the value is <> 0 the backup failed.

The returnvalue of Shellexecute AFAIK delivers only Information about the execution of the command, so it does not help.
But then how can I get the returnvalue of the application in VB?