Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shell function
Message
From
22/05/2002 05:14:17
 
 
To
All
General information
Forum:
Visual Basic
Category:
Windows API functions
Title:
Shell function
Miscellaneous
Thread ID:
00659791
Message ID:
00659791
Views:
51
Hi,

My application need to call the 'net use' command in MS Window 2000 to
map to my remote server. So, is there any way to
know whether I had successfully map to my remote
drive ? since shell function work asynchronously
and I can't use the return value to indicate whether
my mapping is successfully.

Please kindly advise me how to check whether my
mapping is successfully as the mapping might take
some time depending on the phone line.
Currently, I add a delay before checking whether
my mapping is done which is unreliable in certain
case.

Thank you
Best Regards
Virusim
Next
Reply
Map
View

Click here to load this message in the networking platform