Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adobe won't open a file with a blank in the filename
Message
De
02/07/2008 15:44:04
 
 
À
02/07/2008 15:36:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01328393
Message ID:
01328398
Vues:
11
>Hi all,
>I'm trying to open Adobe like this. I need it to wait until I close the PDF manually so that it can return to my VFP on next line.
>oShell = createobject("WScript.shell")
>oShell.run ('"c:\program files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" &XX',0,.t.)
>
>Where XX = a valid path + a PDF filename (F:\scans\ABC NETWORK.PDF)
>This works fine if there are no spaces in the file (XX), but I need to work either way.
>What am I missing?? please.
>thanks.
oShell.run ('"c:\program files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" "'+ XX + '"',0,.t.)
not tested
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
Répondre
Fil
Voir

Click here to load this message in the networking platform