Forum Discussion
2 Replies
Sort By
- AlexKarasChampion Level 3Hi Elya,
Quick googling with the assumption that you are using Word as an automation object, makes me think that you should look at the ReadOnly property of the Word.Document object. E.g.:
http://support.microsoft.com/kb/275976
http://www.daniweb.com/forums/thread170857.html - Pavel_1ContributorHi,
You can also check file attributes via aqFileSystem object
function IsReadOnly(Path)
{
if ((aqFileSystem.GetFileInfo(Path).Attributes & aqFileSystem.faReadOnly) == aqFileSystem.faReadOnly)
return true; //file is read-only
else
return false; //file is not read-only
}
Related Content
- 10 months agomgormsen
- 10 months agoIrinaManea
- 2 months agoStoplight
- 5 months agonado
Recent Discussions
- 3 hours agoSvetaG