Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connect to shared folder on peer-to-peer network
Message
 
À
23/01/2002 14:24:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00609221
Message ID:
00609661
Vues:
13
Here's my little proc for mapping a network share:

PROCEDURE mapdrive
* do mapdrive with "\\servername\sharename", "k:"
LPARAMETERS lcdrvltr, lcnetpath
DECLARE LONG WNetAddConnection IN mpr.DLL STRING@, STRING@, STRING@
retval=wnetaddconnection(@lcnetpath, CHR(0), @lcdrvltr)
*remove the registered library
CLEAR DLLS
RETURN retval
ENDPROC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform