Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute() and Chrome?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
ShellExecute() and Chrome?
Divers
Thread ID:
01665727
Message ID:
01665727
Vues:
82
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform