Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect Presence of Network
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Detect Presence of Network
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01249575
Message ID:
01249575
Views:
62
I was wondering if there is a better way for detecting the presence of the LAN (Local Area Network)?

The following is what I am using right now to detect whether or not a certain drive letter, folder and subfolder exist.
* Detect the presence of the network.
IF DIRECTORY("E:\MSDS\DATA")
  oApp.NetworkPresent=.T.
ELSE
   oApp.NetworkPresent=.F.
ENDIF
Next
Reply
Map
View

Click here to load this message in the networking platform