Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set file attribute?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00823333
Message ID:
00823710
Vues:
22
#DEFINE FILE_ATTRIBUTE_READONLY 1

>I found this API to set a file attribute
>
>
>
DECLARE SHORT SetFileAttributes IN kernel32;
>    STRING lpFileName,;
>    INTEGER dwFileAttributes
>
>
>I assume I set lpFilename to xyz.doc
>but what do I set dwFileAttributes to make xyz.doc read only?
>
>Thanks
>Peter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform