Page 1 of 1

Posted: Fri Feb 14, 2003 5:30 pm
by BackupUser
Restored from previous forum. Originally posted by Joël Roly.

Hi All

How to make to change the attributes of file?
I did not find of order PB
API SetFileAttributesA_(Nom$, Attrib) is refused
Thank you for the reseignements
Joël
(Programmeur amateur)

Posted: Fri Feb 14, 2003 5:41 pm
by BackupUser
Restored from previous forum. Originally posted by Paul.

Drop the "A"...

SetFileAttributes_(Nom$, Attrib)


Example:
SetFileAttributes_("Test.txt",#FILE_ATTRIBUTE_READONLY)


----------
Visit the PB Resources Site at http://www.reelmediaproductions.com/pb

Posted: Sat Feb 15, 2003 10:46 pm
by BackupUser
Restored from previous forum. Originally posted by Joël Roly.

Hello Paul!
It is Ok
Thank you very much
Joël