Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does VFP support UNC?
Message
De
04/05/1999 11:53:59
 
 
À
04/05/1999 09:29:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00213676
Message ID:
00215006
Vues:
37
>>Does VFP support UNC?
>
>Yes, but beware that the FILE() function does not work properly with it. Use ADIR() instead.
>

At least under VFP6, FILE() works, although it will not force a login to a server to resolve the UNC. You can get around this behavior by calling WNetAddConnection3() (there's an example of how to call it in my NETRESOURCE class, downloadable from here on UT) to force a null device connectiuon to the server and share.

ADIR() also won't force a login to a new NetWare server that isn't the preferred server or a node managed by the NDS tree you're currently attached to.

>Kevin
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform