It seems that within CF.NET the class System.IO.FileInfo supports getting and settings attributes. Maybe you can use the Door-library somehow to set the attributes although I can't say since I never used it. In addition, I don't know if a "font" is considered a file.
Here is some sample code in C# which I found:
Maybe you can write your own specific library for this purpose or maybe Erel can give you a helping hand with that.
EDIT: - It seems like Filippo's http://www.b4x.com/forum/additional-libraries/1238-fgcontrols-library.html#post6485 supports setting attributes.
Good luck.
Here is some sample code in C# which I found:
B4X:
FileInfo fi = new FileInfo(fileLocation);
if((FileAttributes.ReadOnly) == (fi.Attributes &
FileAttributes.ReadOnly)) // bitwise comparison
{
fi.Attributes -= FileAttributes.ReadOnly; // remove the readonly attribute
}
Maybe you can write your own specific library for this purpose or maybe Erel can give you a helping hand with that.
EDIT: - It seems like Filippo's http://www.b4x.com/forum/additional-libraries/1238-fgcontrols-library.html#post6485 supports setting attributes.
Good luck.
Last edited: