Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RUN command failed
Message
De
02/03/2007 13:02:00
 
 
À
02/03/2007 12:57:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Divers
Thread ID:
01200345
Message ID:
01200346
Vues:
36
>Hi all,
>I downloaded Acrobat reader 8.0 and now my run command dont work with
>a parameter. Seems to not be able to find the specified file.
>(A4 = "C:\somefolder\any.pdf")
>
>This was working yesterday..
>!/N "C:\Program Files\Adobe\Acrobat 7.0\Reader\acroRd32.exe" &A4
>
>NOW I need to do this but it's bombing.
>!/N "C:\Program Files\Adobe\Reader 8.0\Reader\acroRd32.exe" &A4
>I can't send a parameter like this anymore?
>Anyone? Thanks.


Don't know why it wouldn't work now but it is nonetheless not the best way.

You could probably be better served by ShellExecute()
You can also use WSH or you can always, if you like !N and shelling to DOS (ugh!) make all in one command (in a memvar) then execute the memvar: &MyVar (not the way I would go though).


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform