Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute result codes
Message
 
 
To
17/06/1998 12:43:58
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00108874
Message ID:
00109163
Views:
56
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform