Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving File Name if File Access Error Occurs
Message
De
29/05/2001 14:04:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00512287
Message ID:
00512328
Vues:
10
>Sharing of network files can cause "File access denied" errors. I am trying to write an error handling procedure and want to return the name of the file that cannot be accessed.
>
>I could use MESSAGE(1) to provide code line information and parse out a name, but it would fall short if macro-substitution was used.
>
>Does FoxPro or Windows provide anything I could use?

One way might be to create a property of an application object (or a PUBLIC
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform