Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
App drive and path
Message
De
22/11/2007 13:04:30
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
 
 
À
22/11/2007 10:49:40
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:
01270751
Vues:
20
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.
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform