index > Visual Studio Tools for Office > How to get a reference to Word.BuildingBlocks interface on the fl...

How to get a reference to Word.BuildingBlocks interface on the fl...

hi. Everyone.

How can I add a building block to a repository named Builging Blocks.dotx on the fly.

I tried to get a reference to Word.BuildingBlocks interface, but I couldn't.

I worked with Vsto3 cypress.

 

 

 

 

Jeon

Hi Jeon

You want the ADD method of the BuildingBlockEntries collection.

Start Word. Press Alt+F11 to go into the VBA Editor. Press F2 to start the Object Browser. Type BuildingBlockEntries into the "Search" box, then press ENTER. From the "Members" list select Add then press F1 to open the context sensitive Help (make sure you're connected to the Internet - currently the Help is only available on-line).




-- Cindy Meister (Word MVP)
Cindy Meister

Hi. Cindy

Your reply were very helpful for me. Thanks very much.

Jeon
reply 3

You can use google to search for other answers

 

More Articles

• How to create XMLNodes on runtime -word?
• Creating Desktop Shortcuts in Setup Projects for VSTO 2.0 Excel A...
• Where can I download Cypress?
• HOWTO: AddIn Deployment with Shim for Framework1.1 & Framewor...
• VSTO Deployment
• VB.net equivalent of "Selection"
• exporting mdf to excel format
• Order of selection events with Bookmark controls
• Excel Question
• VSTO Advice: Need your design advice for outlook addin
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• How to Archive or customize Archive setu
• PInvokeStackImbalance was detected
• Word OCX Control
• Word.Docs in VB.Net
• How to develop a new Hyperlink-like obje
• Table.ID doesn't retain its value
• Office Web Components
• Unable to uninstall
• File or assembly name Microsoft.VisualSt
• Import xml
• Word, Excel 2003.Openning a read-only fi
• Excel Add-in
• Word XML Document Question
• commandbarbutton click event doesn't fir
• Word 2003 with VSTO 2003 stops working w

Hot Articles

• edit -> delete on excel disabled, aft
• Outlook addin AutoUpdate
• InfoPath Viewer
• Globals.ThisWorkbook disappear?
• Action Pane disappears
• Signing Web Application with StrongName
• Problem deploying Shared COM-AddIn appli
• VSTO question
• Is connected to exchange
• Identify a Word Range
• VBA-Drag and Drop Outlook Object(IE Addr
• Updating Outlook Add-Ins Using Applicati
• Saving word doc silently
• Intercepting the Saving of a Word document
• Outlook 2003 New inspector does not fire

Recommend Articles

• URGENT! Outlook Addin runs from developm
• how to add xml markup to a range
• CommandBarButton Click event is not raised
• Start Access DB Macro from VB.NET
• how to display images in infopath?
• Shared Add-In VS2005
• Need guidance on which VSTO tools to use
• Possible to store the assembly on a server
• "Lock" table cells
• Migrating an VBA Excel solution to VSTO
• VSTO/Outlook 2007 TravelAgency Sample Qu
• Open a new local mail and insert attachm
• Problems launching Word from VS
• disable command bar button
• How could i develop Office Add-ins compa