Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dealing with short periods of network connection loss
Message
De
08/09/2006 13:09:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01152194
Message ID:
01152395
Vues:
27
>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?

A reliable network is a requirement for a file-server database app like VFP. Your client needs to fix it. Fix the problem, not the symptoms.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform