Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reconnect to the dbc after network break
Message
 
À
04/08/2010 08:57:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01475130
Message ID:
01475136
Vues:
42
if you have a mapped drive you can validate the mapping by

you can try either: (assume you have map drive of "Y" and xx.xx.xx.xx is the ip address)


wshshell=CREATEOBJECT('wscript.shell')
wshnetwork=CREATEOBJECT('wscript.network')
wshnetwork.MapNetworkDrive('Y:','\\xx.xx.xx\foldername',.f.)
wshnetwork=.null.

or
cmacro = 'RUN /N net use Y:','\\xx.xx.xx\foldername'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform