Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NetShareGetInfo
Message
From
26/02/2002 20:37:43
 
 
To
26/02/2002 09:05:09
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00623913
Message ID:
00625523
Views:
11
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform