Run Executable system function

choudharyc

Member
Hi,
I am trying to open an executable with a parameter value to it.The executable opens successfully but I am not able to pass a parameter value to the executable when my parameter ia a variable. It works fine when a hard coded value is passed to the parameter.
An urgent reply is greatly appreciated.Examples are below :

Doesn't work
-----------------
Run Executable("D:\Debug\", "PCMILER.exe", VA evt_PCMiler_ProjectNo, <Blank>, <Blank>,D:\Debug\)

Works
------
Run Executable("D:\Debug\", "PCMILER.exe", "1000", <Blank>, <Blank>,D:\Debug\)

We are on B9 (SP4)
 
Thanks guys , when changed from numeric to string type it worked & passed the parameter value correctly on Fat client.

But the same is not happening on web - it opens the executable successfully but doesn't pass the parameter value.My logic is on Form Exit.
 
Back
Top