General information
Category:
Coding, syntax & commands
Title:
Dealing with short periods of network connection loss
In my VFP EXE I have a standard one error routine:
ON ERROR DO ErrFORM WITH ERROR() ...
This normally works very well.
Sometimes I get a very strange error:
File ErrFORM.SCX does not exist
This has puzzled me for a while as it happened rarely and could not be simulated. However today I removed my network cable and immediately the same error popped up.
I now think that this is happening because there is a sometimes a very short loss of connection to the network. Note that both the EXE and my datafiles are on the network.
Is there a timeout or retry setting I can set to avoid this sort of error to ensure that when access to the network is not available, it waits for a longer period trying to access the network?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only