The information in this article applies to:
SUMMARYThis article demonstrates how to call the _ShellExecute Foundation Class in the _Environ Visual Class Library. MORE INFORMATION
You can use the _ShellExecute Foundation Class in the _Environ Visual Class
Library to either open or print the file that passed to _ShellExecute. If
the file is found, or if there was no association with the file, you can
test the return value for possible reasons why the ShellExecute failed. A
return value over 32 indicates success.
Sample Code
You can also use the _ShellExecute Class to run another application. The
following example opens Windows Explorer:
Sample Code
REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base: Q192352 Invoke the "Open With..." Dialog Box Using ShellExecuteVisual FoxPro Help, version 6.0; search on: "Visual FoxPro Foundation Classes"; Topics: Visual FoxPro Foundation Classes and Foundation Classes (c) Microsoft Corporation 1998. All Rights Reserved. Contributions by Dean Christopher, Microsoft Corporation. Additional query words: kbVFp600 kbFFC
Keywords : |
Last Reviewed: August 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |