Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NetShareGetInfo
Message
De
26/02/2002 20:37:43
 
 
À
26/02/2002 09:05:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00623913
Message ID:
00625523
Vues:
12
>Determining if a Drive letter is already assigned isn't the problem. What I'm trying to accomplish is to make certain that the share as typed exists like \\mike-win2k. I add the c$ share when I actually assign a drive letter. I know that if the "communication server" is not turned on, the share won't exist, but that is a problem for our customer support. I could just let the user type some text and fail at the point I try to connect, but I'd prefer not to do that.
>
Why not use WNetAddConnection3() to try logging into the drive without mapping it? Download my NETRESOURCE and CLSHEAP classes - there's sample code for WNetAddConnection3() in NETRESOURCE.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform