Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
App drive and path
Message
De
22/11/2007 13:09:39
 
 
À
22/11/2007 13:04:30
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
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:
01270754
Vues:
26
>Jos, I don't know why the path is changing, but it seems that the correct path should be:
>
>"file://servername/my_apps_folder_name/adobe/the_pdf_filename.pdf"
>
>Right?
>
>To solve your problem, you could use the following code:
>
>TPDF_FILE = SYS(5) + SYS(2003) + "\adobe\" + ALLTRIM( lcFileName )
>TPDF_FILE = StrTran(TPDF_FILE,"//","/",2)
>
>This way, you remove only the incorrect // and your code works as expected.

I was suspecting this as well. I will try this if FULLPATH() does not work. Will let you know tomorrow. Thanks!
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
Répondre
Fil
Voir

Click here to load this message in the networking platform