index > Visual Studio Tools for Office > XML vs Bookmarks/ranges

XML vs Bookmarks/ranges


Hello there.

I have a solution that will eventually consists of several documents. The thought is that they are stored on a server and when the user downloads and opens them they get filled with some premade data that it gets from a server(project name, id, project location etc). As I have understood it this can be made with both bookmarks/ranges and attaching an XML schema.

What are the different advantages in regards to speed, complexity etc when you compare bookmarks to XML?



cc
Christer Claesson

Hi Christer

If you're talking about VSTO (this is a VSTO forum, after all) then it would certainly be fastest to use the ServerDocument technology with bookmark controls and data binding.

If you're not talking about VSTO, then you're in the wrong group... But fastest would be to use the XML approach then transform the Word document (saved in XML file format) before passing it to the user.

Note that in both cases the document is being processed before opening it in Word. You take the biggest speed hit when you have to automate the COM object model.




-- Cindy Meister (Word MVP)
Cindy Meister
reply 2

You can use google to search for other answers

 

More Articles

Problem with VSTO installation
ListObject and Range Relation
please suggest me
Retrieving an email's digital signature and verifying it.
Excel XML Auto Column Width
VSTO & Access
Migrating Existing Excel with Macros to VSTO
Listbox in Scrolling ActionsPane Problem
Validation in excelsheet/listobject/cell
strange behaviour with offline deployment model
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

VSTO 2005 for Outlook links
Please try this: view Word doc in webBro…
A newbie question: how to control word d…
VSTO Serious Deployment Problem. NamedRa…
saving User Control state of control emb…
Restriction of movement/copying/cutting/…
Evet type: clr20r3 P1: outlook.exe P2: 1…
Behavior of a MenuStrip inside the Actio…
How to 'translate' a Dataset into a Tabl…
An very important problum about OneNote …
Microsoft Visual C++ Runtime Library - O…
VSTO Deployment
VSTO2005-Word. Only want the code-behind…
Deployment of a Word VSTO application
Best of Forum Q&A

Hot Articles

Insert an Excel Worksheet into Word
row count and column count of excel file…
Oh Happy Day!
Questions on VSTO "v3"
how to deploy a database with my Outlook…
Custom content in AppManifest (...or els…
VSTO Serious Deployment Problem. NamedRa…
Help deployment Microsoft.VisualStudio.T…
How to Freeze Range in owc11 spreadsheet?
Accelerate Smart Tag Recogntion
data from query result to excel graph/ch…
How to: Take over Save function?
Outlook: Opening the Insert File dialog
Broke VSTO -- Now Outlook Add-ins won't …
Beginner Problem? Add-in runs fine insid…

Recommend Articles

VSTO 2005 SE Deployment Problem
OnStartupComplete not firing on client m…
Exception from HRESULT: 0x800A03EC. at a…
Add-inn installed in word but not in oth…
Microsoft Word 2003 and WordML (How to S…
Change Style of AutoTextEntry
VSTO v3 and Outlook
IFont functions appear in imported Excel…
How to get sender SMTP or SIP address fo…
Outlook Add-in configuration
Intercepting Save related commands in Wo…
Hidden XML Tags in Word document
newbie ? Access 2003 Developer Extensions
Sending Emails ..
Excel macro question - ref: sheets (hope…