Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Word Doc Properties to Read-Only via OLE Automat
Message
 
À
12/02/2002 12:50:15
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00618945
Message ID:
00618982
Vues:
9
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform