Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WSHNetwork calls
Message
From
29/07/2003 15:17:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
WSHNetwork calls
Miscellaneous
Thread ID:
00814669
Message ID:
00814669
Views:
45
Alrighty.....

It worked in Win95/98 - they threw Win2K at me, so now
it worked in Win2K - they're throwing WinXP at me, and it doesn't work.

My application (VFP6) is either attaching and mapping a drive to another network drive. If I am already attached to the server, it doesn't have a problem. If I am not, it tells me "Multiple attachments to a server or shared resource by same user using more than one username is not allowed. Please disconnect from shared resource". What gives?

The line of code that it is herfing on is:
oNet.mapnetworkdrive(ndrv,nmap, .f.,userid,password)
where oNet = createobject("wscript.network")

Any aid and assistance will be appreciated before I go completely whacko trying to find the answer in the MSDN pages and eat my computer or something.

Dorris
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Next
Reply
Map
View

Click here to load this message in the networking platform