Charterhouse
Programmer
I'm supporting about 120 desktop & laptop users with any application which operates for most of the time, offline. However, when data needs to be uploaded to the server, the application recognises whether or not it is online by using
the code
gcNetDataDir = '\\ServerName\DataFolder\'
IF DIRECTORY(gcNetDataDir)
Online
ELSE
Offline
ENDIF
This works fine, except for about 3 laptops, despite the actual existence of the path, the DIRECTORY() fails to identify the existence. Is this a problem of the OS or VFP?
Is there another way around it? Any suggestions?
the code
gcNetDataDir = '\\ServerName\DataFolder\'
IF DIRECTORY(gcNetDataDir)
Online
ELSE
Offline
ENDIF
This works fine, except for about 3 laptops, despite the actual existence of the path, the DIRECTORY() fails to identify the existence. Is this a problem of the OS or VFP?
Is there another way around it? Any suggestions?