Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mapping to network drive using .BAT file
Message
De
23/03/2004 13:52:49
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
 
 
À
23/03/2004 11:39:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00888895
Message ID:
00888976
Vues:
22
Cetin--

>Declare integer WNetCancelConnection in WIN32API String lpName,short lForce
>Declare integer WNetAddConnection in WIN32API ;
> string lpRemoteName, ;
> string lpPassword, ;
> string lpLocalName
>
>*Add connection
>WNetAddConnection("\\W0028109792\DATAWARE", "", "R:")
>
>*Remove connection
>*WNetCancelConnection("R:",0)
>
>PS: WNetAddConnection2 and WNetCancelConnection2 supersedes and have more options for connections like dipslaying a prompt for username and pw for user to connect.


I did the old cut and paste and my R drive does not appear. I moved the WnetCancelConnection in front of the WNetAddConnection.

Any thoughts on what the problem might be? How do I get the errors from these guys?

Tim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform