Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute result codes
Message
 
 
À
17/06/1998 12:43:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00108874
Message ID:
00109163
Vues:
59
Bruce,

There maybe a way to replace the functionality of the DOS print utility entirely with VFP code.

Does the test machine have the same DOS PATH? the access_denied is pretty hard to tell exactly what was denied, the utility itself or a file the util was trying to use.

You can use the last parameter of ShellExecute() to control the visibility of the window.

>The weird thing is that the call to ShellExecute() to run this little print utility works fine here in development, but on the test machines an error code of 5 is generated. In my tests here in dev I've renamed the utility so that ShellExecute can't find it, and I get the expected error code of 2, not 5.
>
>Is there an alternative way to achieve the same desired effect of not having the DOS session window flashing up on the screen?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform