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:36:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Adobe won't open a file with a blank in the filename
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01328393
Message ID:
01328393
Vues:
51
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform