Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File shellexecute.prg doesn't exist
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00833448
Message ID:
00833457
Views:
33
DECLARE INTEGER ShellExecute ;
IN SHELL32.DLL ;
INTEGER nWinHandle,;
STRING cOperation,;
STRING cFileName,;
STRING cParameters,;
STRING cDirectory,;
INTEGER nShowWindow
*Syntax:
*? ShellExecute(hwnd,lpOperation,lpFile,lpParameters,lpDirectory,nShow)

I am not quite sure what do with your parameters. Try:
? ShellExecute(0,"open","C:\Program Files\TWAINCommander\TWAINCom.exe",;
"y:\myapp\mydoc.tiff -multipagetiff",;
"y:\MYAPP",1)

clear dlls

>ShellExecute("TWAINCOM.EXE", "y:\MYAPP","y:\myapp\mydoc.tiff -multipagetiff")
>
>file shellexecute.prg does'nt exist
>
>I want to run the twaincom.exe program from visual foxpro.
>
>twaincom.exe is located at the following path:
>"C:\Program Files\TWAINCommander\TWAINCom.exe"
>
>Thank you very much.
Previous
Reply
Map
View

Click here to load this message in the networking platform