Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to test the network at any time
Message
De
31/05/2002 19:07:31
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
31/05/2002 06:09:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00663315
Message ID:
00663727
Vues:
12
>how to test if the network works at any time ?
>how to prevent file access error when the network doesn't work ?

I don't know about API functions.

Two suggested approaches (perhaps you have to combine both):

  • See if you can access (perhaps create) a specific file.
  • Intercept errors, using ON ERROR.

    HTH, Hilmar.
    Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
  • Précédent
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform