index > Visual Studio Tools for Office > Make a segment in a word document read only

Make a segment in a word document read only

Is this possible to mark a segment in a word document read only?

Thanks very much!

Yuhang

Yuhang

Hi,

Yes, you can mark portions of a Word document as read only using VSTO. To prevent users from making any edits to the document, you use the Proect method of the Document. For more information, see http://msdn2.microsoft.com/en-us/library/ms178793.aspx

Kathleen McGrath




This posting is provided "AS IS" with no warranties, and confers no rights.
Kathleen McGrath - MSFT

Very helpfule.

Thanks,

Yuhang
reply 3

You can use google to search for other answers

 

More Articles

• XML DataViews for XML without namespace
• VSTO 2005 Actions Pane deployment
• Databinding in VSTO
• Binding ArrayList or List(Of type) types to Listobject
• How to select a task pane at startup?
• VSTO over VS pro?
• events not firing
• VSTO 2003 and VSTO 2005 on the same machine?
• problems with deployment of VSTO 2005 Excel application
• VSTO SE installation problems
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Access Outlook Address Book using C# or VB
• Outlook Addin with ALLUSERS property is
• Outlook integration using redemption - c
• Freeze Pane in VSTO2005
• Rules
• Access Developer Extensions
• VS2005 Standard: What version of MS Offi
• get range from excel sheet of separate c
• how i can translate word from english to
• usersettings & specific path
• How to customize more than one Excel wor
• Developing code for MS Office 10.0/11.0
• VSTO, Outlook 2003, vs2005 open build-in
• ListObject selected Object
• How do I incorporate a VS project word d

Hot Articles

• VSTO Installation Problem
• Will Intellisense show all members even
• Microsoft Visual C++ Runtime Library - O
• Expansion Pack can not find Smart Doc Pr
• How to set a Custom Color?
• VSTO 2005 Actions Pane deployment
• Task pane / Action pane needs to be avai
• Create New doc from some parts of old one
• Launching an application from my Add-In
• VSTO 2005 Samples
• VSTO Outlook (Beta) Lab2
• Infopath 2003 Template on Visual Studio
• Conflict between Word and Outlook
• Deploying VSTO 2005 SE (Cypress) solution.
• get range from excel sheet of separate c

Recommend Articles

• Starting Excel with C#
• How to use vb to add exite effects in po
• Revisions in Bookmarks
• Excel 2007 VSTO Addin UDF
• How do i implement Real-Time Comm. featu
• VSTO Deployment Models
• Can a WebBrowser control be used in an E
• Rpresenting ranges as nmbers
• Word to XML from C#
• Debugging of VSTO document
• Excel Automation Plugins, Deserializatio
• Excel 2003 automation: setting an array
• Template Word & C#
• Where is Microsoft.Office.Tools.Common20
• Spell Checker