Delphi Programming RTL Reference|By Category|Alphabetically|By Unit
function FileSetReadOnly(const sFileName: string; SetReadOnly : boolean): boolean;
Sets the read-only status of the specified file.
//make the exe of THIS app read-only
FileSetReadOnly(Application.ExeName, True);
|
Your first MP3 Delphi player
See how to build a full-blown mp3 player with Delphi in just a few seconds. Even more: get the ID3 tag information from a mp3 file and change it!
TFindFile VCL
Tired of using FindFirst, Next and Close? Come see how to encapsulate all those functions in a single "find-files-recursively" component. It's easy to use, free and with code.
FileSetAttr, FileGetAttr,
|
Free Delphi code snippet inside every Delphi Newsletter! |
|
|
|
Got some code to share? Got a question? Need some help? |
|
|