Message
 
 
General information
Fórum:
Visual FoxPro
Category:
Programação, sintaxe e comandos
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
ID da thread:
01328393
ID da mensagem:
01328429
Views:
12
>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
Previous
Next
Responder
Mapa
View