General information
Category:
COM/DCOM and OLE Automation
Something like this:
with objWord.ActiveDocument
.ReadOnlyRecommended = .t.
.SaveAs("C:\HI.doc",,,,, "YYY")
endwith
User will be able to open it as read-only (without password). But he/she will be able to modify it and save with another filename.
>I am creating a Microsoft Word Document via OLE Automation in my program. I want to make the Document Read-Only after it has been created and saved to the users hard drive. Can this be done via automation?
>
>THanks
>>> Wes
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only