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

Click here to load this message in the networking platform