Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute and MS Office 2010
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01553064
Message ID:
01553125
Views:
61
>>
>>Try:
>>
>>lnResult =Shellexecute(0, tcCommand, ["] + tcFileName +["], tcParameter,tcDirectory,tnShowCommand)
>>
>>
>>
>
>So far what I see in your example that I am thinking of changing is adding the double quotes around the file name. In my code I simply pass the file name that includes the folder location of the file. I may change it in my code too; but I am thinking of any possible side effect that I may have with these double quotes. And as I mentioned, on my computer, my sample file works without double quotes. The only other thing is maybe his OS (I believe Windows 7) could be blocking my app. Possible?

I am with Windows 7 and have no problems.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform