Visual Studio Development Bookmark and Share   
 index > Visual Studio Tools for Office > MS Word 2007 Add-in persistance
 

MS Word 2007 Add-in persistance

Hi there,

I'm developing an addin for Word 2007 which integrates into TFS. I have the code that can extract necessary work items and display them in a table etc. The problem that I am facing now is that I would like this table to be updated dynamically. For example, when I click on the table, have the option to "update" the table contents which then clears out the old data, and repopulates the table with the new data. What would be the best way to go about this? And is this even possible?
Psyinx  Thursday, October 15, 2009 8:06 AM
There's nothing built into either Word or VSTO that can link a Word table to any kind of data source.

You can use the WindowSelectionChange event to determine where the user has "clicked" (whether you're in a table), then have code to the entire data update. Or you could add a menu item to the right-click menu to call such code.
Cindy Meister, VSTO/Word MVP
Cindy Meister  Thursday, October 15, 2009 4:16 PM

You can use google to search for other answers

Custom Search

More Threads

• Email Links in Outlook
• XML Data Binding with a VSTO Content Control
• can we add a custom field in Microsoft Outlook 2003 Contacts ?
• Shimming in VS 2005 Tools for Office
• Need FollwHyperlink event or Equivalent to Handle any hyperlink click Event in Microsoft Word using VSTO 3.0
• Iterating through Excel Workbooks collection does not pick-up all open workbooks
• Unable to add ActionPane - error when document is opened
• what is best way to develop add-in in Excel-2003 & C# (.NET 2.0)
• Outlook rule query
• 64 bit debugger issue