General information
Category:
Coding, syntax & commands
Title:
Adobe won't open a file with a blank in the filename
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only