Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shellexecute
Message
 
To
04/10/2001 16:41:23
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00564405
Message ID:
00564697
Views:
15
Well I see you are using library "_environ", which I am not familiar with.
I am using the plain WiNAPI call:
DECLARE INTEGER ShellExecute ;
IN SHELL32.DLL ;
INTEGER nWinHandle,;
STRING cOperation,;
STRING cFileName,;
STRING cParameters,;
STRING cDirectory,;
INTEGER nShowWindow

ShellExecute(0,"print","c:\test.doc","","",1)


>Actually here is the exact code. Those are the parameters that are allowed.
>
>oshell=newobject("_shellexecute","_environ")
>oshell.shellexecute("c:\pa6062\comments\P0000050560000OT.doc","print")
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform