index > Visual Studio Tools for Office > Office.Core and Interop.Word, manipulating documents without open...

Office.Core and Interop.Word, manipulating documents without open...

Hi, we are writing a server app that would check the validity of the signatures on incoming word documents.

But apparently this needs Winword to run in the background (and hence it needs to be installed on the server) this results in quite a heavy load, and a potential for memory leaks and security issues.

So is it possible to alter a word document without having word opened ? (so all processing is done by the application using the libraries, and not word in request of the application)

We're using VS 2003 and the
C:\WINDOWS\assembly\GAC\Office\11.0.0.0__71e9bce111e9429c\Office.dll
and
C:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Word\11.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Word.dll
dll's at the moment.

boran_blok
No, it is not possible to alter Word document without running Word. The Office.dll and Microsoft.Office.Interop.Word.dll are Primary Interop Assemblies. They are essentially the bridges that allow managed code to talk to Word's COM-based object model, but these do not contain any new capabilities on top of the existing object model.


Misha (VSTO team is hiring. We would like to hear from you http://tinyurl.com/ZQGW2)
Misha Shneerson
reply 2

You can use google to search for other answers

 

More Articles

• VSTO C# AddNamedRange to Active Sheet.
• Smart Document attribute's value persitance issue
• Saving OLEObject content to a file
• Smart tags in Outlook
• Modify LoadBehaviuor registry value with RegEdit?
• Word.interop - Saveas usage
• Outlook AddIns 2 Questions
• MS Office versions/patches
• Basic VSTO questions
• Range.InsertFile and XPath
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Retrieve all calendar items.
• newbie ? Access 2003 Developer Extensions
• sending to excell with VB
• Will There Be An Outlook 12 Template?
• inability to check "Register for CO
• Handling COM Addin Events in a VSTO dll
• Query on VS2005
• Created a project, published it... but e
• printing workbooks
• Layout Of Dynamic Controls In Outlook 2007
• Is VSTO 2005 Required to build a Windows
• Start Access DB Macro from VB.NET
• VSTO August CTP COM Exception
• ViewAdd event does not work on manually
• Moving Outlook Add-in to VSTO 2005?

Hot Articles

• VSTO SE Beta for office 2003
• The XML Schema for MS Project 2003?
• worddocument.saveas does save - but the
• printing workbooks
• HtmlBody problem's
• Trouble to install VSTO
• Word OCX Control
• Help Required
• Outlook Addin with ALLUSERS property is
• How to (programmatically )get rid from t
• Unable to install Visual Studio 2005 Too
• Application-level smart tags using VSTO
• VSTO 2005 Hands on Excel Lab Problems
• Open a new local mail and insert attachm
• deleting VSTO Word File from Bin while V

Recommend Articles

• Outomating office from a standard Forms
• Smart Document attribute's value persita
• refresh the reading pane
• VBA-Drag and Drop Outlook Object(IE Addr
• Create Word Document Using C# 2.0 &
• VSTO Outlook 2007 Form Region Question
• Upgrade "path" for end-users w
• How to use vb to add exite effects in po
• Wrap VSTO Projects in other Projects?
• Newbie to VSTO
• Insert image into Excel from My.Resource
• Password and CopyObject method to copy m
• VSTO seminars
• How to read mails in Outlook 2003
• ContentControls & VSTO(v.3 aka 2007)