Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning UNC path with GetFile()
Message
From
07/09/2000 05:59:24
 
 
To
30/08/2000 16:22:57
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00411000
Message ID:
00413360
Views:
21
>Hi,
>
>I'm wondering if there is a way of returning, say,
>
>myserver//mydirectory/myfile.txt
>
>instead of :
>
>L:\mydirectory\myfile.txt
>
>My thinking is that there is way to do this, although perhaps not with getfile().
>
>The reason I want to do this is that I store the names [including paths] of files in a table. I'm concerned that users would only be able to view these files from my VFP application if they have identical drive mappings.
>
>Any ideas ?
>
>Best.
>
>Matt.


Matt,

If you store path in the table then,
no matter what you store (mapped or UNC path) + file name will
open that file anyway.

Another thing,
Getfile() can allso return UNC path
if you select machine\drive\file.XXX via Network Neigborhood,
instead of mapped device.

If this does not cover your needs then you
have to browse arround for 'bigger guns' .
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform