Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WSHNetwork calls
Message
De
29/07/2003 15:17:49
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
WSHNetwork calls
Divers
Thread ID:
00814669
Message ID:
00814669
Vues:
46
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform