>Hello everyone,
>
>I have a form that calls another external VFP exe application that runs as a top level form. The init of the external VFP exe application contains two parameters. If from the IDE in the calling form, I call the external form using DO FORM ... WITH param1, param2 all is well.
>
>If I pass the parameters to the .exe using the RUN command, the receiving EXE complains about the parameters being incorrect. Do I need to separate the parameters with a comma or should they simply be separated with a space?
>
>Any ideas what I might be doing incorrectly?
>
>
>lcCommandStr = 'SOMEOTHER.EXE "' + TRANSFORM(Int1) + '", "' + TRANSFORM(Int2) + '"'
>RUN /4 &lcCommandStr
>
>
>By the way, this worked OK when there was just a single parameter. I am having this problem since the need to pass a second parameter.
>
Angie,
Check
How to pass parameters to VFP EXE FAQ #17861
--sb--