In this case parameters should be separated by spaces not commas. If parameter itself include spaces, it should be encloused in double quotes.
>Greeting Sergey
>
>Sorry. Gave the wrong question shellexecute question. Yes that works for me too, as does my own example. The problem I meant to raise was passing MULTIPLE parameters.
>
>eg
>parmstring=advice+','+question+','+options+','+boxhead
>
>result=ShellExecute(0,cAction,cFILENAME,parmstring,"",1)
>
>what happens is that the receiving programs receive all parameters as a single string with no commas. Up till now I've had to parse the incoming string and assign the parameters in code
--sb--