Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check user's rights
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01210145
Message ID:
01210201
Vues:
29
>Looks like i cant use "getfolder" as it does not have any constant for "read only".
>as you know it supports only following
>Hidden,system,Directory,Archive,compressed.
>
>when i accessed this method with a read only folder it returned 16 ,this is same value for a folder with full rights.
>seems i need to use here either "GetFile" method or try creating dummy text file in each of folders i want to test.

Hmmm,

http://www.devguru.com/technologies/vbscript/QuickRef/folder_attributes.html

Or see http://news2news.com/vfp/?group=27&function=144 and http://msdn2.microsoft.com/en-us/library/ms890895.aspx
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform