Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UNC problem in VFP5
Message
De
23/09/1998 08:16:28
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00139741
Message ID:
00139756
Vues:
22
>Does anybody know if VFP6 fixes a problem or if there is an alternative in VFP5 (still awaiting delivery of VFP6) for a problem I have found using UNCs without accessing the servers first:-
>1) You cannot use UNC with SET DEFAULT TO...
>2) You cannot use UNC with IF FILE(...)
>This problem disappears if you access the particular server via explorer and then try the commands again. Personally, I absolutely refuse to use SET DEFAULT TO but I often use IF FILE(...) before trying to USE the file and this is causing some concerns. TIA,
Nigel,
On my system (5.0a) both work (also set path, sys(5), curdir() etc). sys(5) returns the UNC drive. Might it be nonVFP problem.
? file("\\library\tezler\digertezler.doc")   && .t.
set defa to ("\\library\tezler")
dir *.*   && Files on remote listed
? sys(5)  && \\library\tezler
? curdir() && \
Here we use NTserver as domain controller, all computers are configured for user level access (mostly Win95). I had no connection to "\\library\tezler" from explorer. Also I retested it with many other computers on network, all work (BTW I'm administrator and have right to access to all of them - but I tried it with logging as someone else and still work).
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform