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:
01210217
Vues:
31
I'm sorry. Somehow I forgot, though I gave this link just recently. See
How to change file attributes programmatically FAQ #15763

It may apply to a folder too.

>Naomi
>i tried that example from Devguru but throws error ie. IF condition
>
>error is "Data type mismatch (Error 9)"
>line of code the generates error
>
>if Not demofolder.Attributes And 1 Then
> Response.Write "The folder is Read/Write."
>Else
> Response.Write "The folder is Read-only."
>End If
>
>easiest solution seems to me is creating a dummy file if that throws error that means user does not have enough rights
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