Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you use ShellExecute()
Message
From
15/09/1998 06:47:16
 
 
To
14/09/1998 10:50:28
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00136184
Message ID:
00136628
Views:
15
>I tried Delaring the command with declare ShellExecute in Win32s16 int, string, string, string, string
>and then calling it but keep getting an error something like "Invalid entry point". Just what is the syntax for calling this function?
>

I haven't tested under Win32s, but you might look at the LaunchAppAndWait function that I posted yesterday, which uses CreateProcess() rather than ShellExecute() to launch executables and wait on their completion (you can also just launch them using CreateProcess(), and not wait by ignoring the code after the CreateProcess() call.)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform