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
 
 
À
02/07/2008 16:01:02
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:
01328429
Vues:
11
>XX = '"F:\scans\003.PDF"'
>oShell.run ('"c:\program files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe"' + &XX,0,.t.)
>
>(xx is surrounded by single quotes, then double quotes)
>003.pdf open fine with this code but if the file name has a space Adobe "cannot open" the file.

Try
oShell.run ('"c:\program files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" ' + m.XX,0,.t.)
You don't want to use macro when it's not required.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform