'Connect' is default action so both versions of the code should work.
>Thanks, I tried with 'Connect' and it works just fine...
>
>>Try
>>? ShellExecute ( 0, "", "c:\Test.rdp","","",0)
>>* Or
>>? ShellExecute ( 0, "Connect", "c:\Test.rdp","","",0)
>>
>>
--sb--