Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxPro DOS (v2.0) and Network Errors
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00131913
Message ID:
00131944
Vues:
16
>Ocassionally, my application loses its connection to the network. (The Infamous Drive G does not exist, Abort, Retry, Ignore.)
>
>Is there any way of trapping for this error. I have an on error routine, but this stops the application from running. Usually all you need to do is hit Retry and awy it goes..
>
>I am trying to track down, why it is loosing the network connection, but until I find this out, is there a trap that I could add, so that the application will retry all on its own.
>
>(The application is written, such that it performs the correct mappings on boot up.)

If this is on a Novell network AND the client is running DOS, the client can be configured to automatically reconnect when a network error occurs via NET.CFG. Alternately, you could try to lock the table [lock()/rlock()] until successful - tho this may not be practical if others are using it...

If you need more information on bulletproofing NET.CFG, let me know.

HTH,
Paul M.
Paul M.
MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+
Nil carborundum illegitimi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform