Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem moving from mapped drives to UNC
Message
From
21/05/1998 12:30:41
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00100857
Message ID:
00100875
Views:
46
>>I am attempting to run my VFP application (as an EXE file) from a remote site using universal naming convention instead of a mapped drive. (Note the application works perfectly with a mapped drive).
>>
>>I make no references to paths in the program except that I open all my table and databases using a relative path name. Example:
>>
>>use database\atable.dbf shared in 0
>>
>>My CONFIG.FPW file has no path names hard coded for table access.
>>
>>I get the following error when running the EXE:
>>
>>Unable to access \:\\FS_RENAL2\USER1\APPS\DB\MAIN\DATABASE\PATDB.DBC
>>
>>This looks fine except for the "\:" at the start. How did that get there? Should that be there? What is causing it?
>
>Sorry folks the error message is acutally
>
>"\:\\FS_RENAL2\USER1\APPS\DB\MAIN\DATABASE\PATDB.DBC does not exist."
Evan,
I think it's not dbf but backlink info causing error. This works quite well :
mfname = "\\poseidon\d$\goruntu\data\images"
use (mfname)
browse
? dbf()
* "\\poseidon\d$\goruntu\data\images" prints correctly
Might it be in original design DBC was in root of where DBF reside ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform