Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wanting to go from Drive Letter to UNC any advice
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00153439
Message ID:
00153565
Views:
18
>I am at the point in my application development that I want to use Universal Naming Conventions versus drive letters for our Novell VFP system. Does anyone have any advice or precautions, or any tools that they can point me to that will ease my transition from drive letters to UNC. Also don't be afraid to tell me that I should keep drive letter mappings and that UNC has major problems in VFP 6.0 still. I am just looking for some advice from others who may have gone doen this road already.

Brett,

Since I still open all of my table at the start of the app (the old way). My conversion was almost painless.

First I get the application path:
gcAppPath = sys(2003)

Then I use prefix this onto any table or database that I am opening:
open database &gcAppPath\database\patdb
use &gcAppPath\database\rfids in 0

One thing that puzzled me was that I had to use the "-c" switch to point to my config.fpw file on the command line for the executable.

One point to mention is that (in a way) drive mapping are more portable. The server name and volumes and directories change. As long the drive is remapped correctly then the app will continue to work. With UNC your directories are hard-coded in your Windows shortcuts or NAL.
Previous
Reply
Map
View

Click here to load this message in the networking platform