Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing file attributes thru VFP or API?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00108427
Message ID:
00108567
Views:
30
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform