Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing file attributes thru VFP or API?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00108427
Message ID:
00108567
Vues:
31
>>There must be some programmatic method to do this:
>
>If ReadOnly
> Make ReadWrite
>EndIf
>
>Even if I have to resort to an API!?!?
>
>TIA

Hello Michael,

Download FOCUS.FLL and KERNEL.DLL from the File Section. The KERNEL.DLL should be placed in the system directory of Windows. FOCUS.FLL is to be placed in your application's directory. FOCUS.FLL contains lots of functions that are file oriented. You can use the FIL_setatt() function to assign agiven attribute to a file ... or you use directly the SetFileAttributes() function of the WIN32 API yourself.

Pat
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform