Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute and MS Office 2010
Message
De
18/09/2012 06:35:06
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01553064
Message ID:
01553125
Vues:
57
>>
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform