General information
Category:
Windows API functions
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only