Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using UNC Paths with VFP 9
Message
From
30/04/2007 11:44:28
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01220559
Message ID:
01221151
Views:
24
>I know I have read in the FoxPro help files that you should not use UNC paths. This was a while ago. Does anyone know if this still applies to VFP 9?
>
>We now have to use them in one case where our small VFP 9 .EXE is run as a background service. Because it is starting as a service (which starts under a new user) there is no existing net work path mapping. We had to use UNC paths to the data on the network. It seems to run fine and very fast.

The last time there was trouble with UNCs was in VFP6 sp2 or sp3. The executable's startup code would find the runtime, and then the runtime couldn't find the executable again if it was on an UNC. Fixed in the next SP.

The only other issue is that JustDrive() function doesn't return servername if the path given is an UNC, but sys(5) does.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform