Yes, 5 means "The file name association is incomplete or invalid" but any return values less or equal 32 are error codes.
>
>Hi
--sb--. Thanks again. I assume I can simply test for a return code from ShellExecute. On my dev PC I get a value of 5 if I try and run soemthing that does not have an associated app.
--sb--