Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shellexec
Message
 
À
11/04/2000 16:47:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00358330
Message ID:
00358357
Vues:
11
>>
>>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)

I don't think so, Todd. Of course, I declare the string as being passed by reference, and I do pass all parameters. Try that and see if that helps.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform