Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WScript.Shell vs. ShellExecute

Status
Not open for further replies.

EmmaLu

Programmer
Jul 16, 2004
38
US
Can someone tell me the difference between using WScript.Shell and ShellExecute?

I want to make the best choice in my VFP8 application where I allow users to open MS-Word, Excel, PDF files, play audio and video files and view websites.

Thanks
 
EmmaLu

WScript.Shell requires Windows Scripting to be installed on all the user's computers in order to work (Which some network admin will not permit) and ShellExecute is an API call that requires nothing else.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Thanks Mike that is what I wanted to know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top