Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check user's rights
Message
 
 
To
29/03/2007 22:36:10
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01210145
Message ID:
01210201
Views:
30
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform