Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute() and Chrome?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
ShellExecute() and Chrome?
Miscellaneous
Thread ID:
01665727
Message ID:
01665727
Views:
81
Hi,

I connect to a customer server (RDP) and then run a certain routine in the VFP 9 application that is suppose to open a PDF file. The opening is done by the following command:
=Shellexecute(0, "open", cFileName, 3, "", "")
The PDF file is opened but it looks like it shows in the Chrome and not Adobe Reader.

Could it be that the Chrome would open PDF file way?

Also, the File:// line at the top shows the PDF name with all empty spaces replaced by "%20" Is this added by Chrome? For example:
file://server_name/app_name/documents/fs1%20hartness-meur%20nf.pdf
TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform