Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
App drive and path
Message
De
26/11/2007 03:37:15
 
 
À
22/11/2007 11:33:18
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01270674
Message ID:
01271185
Vues:
26
Thanks Dragan. This solved the problem.



>>Asking for sys(5) + sys(2003) converts backslashes to double forward slashes. And the drive letter is converted to "file:" . Looks like UNC or something but I am not sure what I need to change in order for the path to the file to be correct for IE.
>
>Actually, "file:" is the protocol (instead of http: or ftp: or smb: or whatever:). If you're on an UNC, sys(5) gives you the \\server\path (which acts as your drive), and sys(2003) gives you the \path (note the initial backslash).
>
>Could you just try something like this:
>
>
lcFile=fullpath("adobe\"+pdffilename)
>
>IOW, let Fox convert the pieces into a real path, and then submit that to IE. Works with UNCs, just tried.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform