>Can you consume another NON FOXPRO EXE /w Paramaters using FoxPro or just run it using FoxPro without it displaying.
>Can you consume another NON FOXPRO EXE /w Paramaters using FoxPro or just run it using FoxPro without it displaying.
Yes. There are more than one way to do this. My favorite is using the Shell32.dll. There are threads here that someone might be able to point it to you. Note that I removed the validation codes to make sure that the parameters received are valid.
function ShellExec(tcFileName,tcParameters,tcWorkDir,tcOperation)
declare integer ShellExecute ;
in SHELL32.dll ;
integer nWinHandle,;
string cOperation,;
string cFileName,;
string cParameters,;
string cDirectory,;
integer nShowWindow
return ShellExecute(0,lcOperation,lcFileName,lcParameters,lcWorkDir,1)
ramil
~~ learning to stand still