Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App drive and path
Message
From
22/11/2007 13:04:30
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
 
 
To
22/11/2007 10:49:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01270674
Message ID:
01270751
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform