Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reconnect to the dbc after network break
Message
 
To
04/08/2010 08:57:19
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01475130
Message ID:
01475136
Views:
41
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'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform