Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change the read-only setup of a file by code ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00423846
Message ID:
00424119
Vues:
18
>#DEFINE READONLY 1
>oFSO = CREATEOBJECT('Scripting.FileSystemObject')
>* lcfile is the fully qualified file name of an existing file
>oFile = oFSO.GetFile(lcfile)
>oFile.Attributes = BITXOR(oFile.Attributes, READONLY)


Hey George. I inadvertently saw your post and tried it.
Cool!!
It will come in handy. :)

Thanks.
HI-YO SILVER AWAY!!
The Lone Ranger, The late Clayton Moore R.I.P.
I am a fool!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform