Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File access is denied
Message
De
28/03/2004 18:01:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00888351
Message ID:
00890298
Vues:
10
You can use the FOPEN to test. If FOPEN returns <0 you can show a message to explain the problem to access the file (user´s rights or other system problems). I use a OPEN routine (writed by me) to open each file and the FOPEN command is tried first. It´s fast and the result is good. Something like that:

LNhandle = fopen(xxxx)
if LNhandle<0
Error message
else
fclose(LNhandle)
endif
use &xxxx

I hope it helps you.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform