OK thanks FoxMeister!
>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.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.