Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adobe won't open a file with a blank in the filename
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01328393
Message ID:
01328429
Views:
10
>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
Reply
Map
View

Click here to load this message in the networking platform