Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shellexec
Message
From
11/04/2000 16:47:47
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00358330
Message ID:
00358350
Views:
13
>
>My Run_with program (available in the download section under Win32 and Other APIs) has the ShellExecute declaration in it. Additionally, this function is in the FFC. The only thing different you have to do is specify "print" rather than "open". If you pass 0 as the show command, the window will be hidden during the print process. When print is specified, the application automatically closes.

Cool! Thanks George!

I'm doing it like below, but I still see the imaging window flash by. Am I missing a 0 in all the right places? :-)

* main.prg
DECLARE INTEGER ShellExecute IN "Shell32.dll" INTEGER, STRING, STRING, STRING, STRING, INTEGER

* subroutine.prg
=ShellExecute(0,"print",front_filename,"","",0)
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform