Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass parameter to a program via Shellexecute?
Message
From
27/07/2005 13:59:56
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
How to pass parameter to a program via Shellexecute?
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01036354
Message ID:
01036354
Views:
52
Hi,

I'm trying to use Shellexecute that comes in the VFP foundation classes. I need to run a program that itself accepts parameters but there doesn't appear to be anyway to pass the latter as a parameter to the shellexecute class. Upon digging into the class code, I noticed that an empty string is always sent as the parameter.

Anyone know why this was done and if there is a way around it so that I can send my parameters to the program that I want to Shellexecute to?

TIA

Mike
Next
Reply
Map
View

Click here to load this message in the networking platform