Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
IManExt.OpenCmd (hijack desksite's open command)
shahbm
hello techies,
i have com add-in for word 2003.. and i want my add-in kick in first before desksite saves the document to NrPortbl directory.. (i.e. when desksite users double-click or open a word document, i want to manipulate that word document with my com add-in and then allow desksite to save it into NrPortbl)...
any suggestions...!!
B
Find more posts tagged with
Comments
jny
You should be able to, in your Word AddIn, catch the native DocumentOpen Event to plug in your own implementation logic.
We have a sample footer macro that is used to set up a sink to the IManO2K.IManageExtensibility Object. This object has a GetDocumentFromPath method that you may use to check whether or not the active document that is opening is a WorkSite document.
Search for a technote by Custftx.dot which is the sample macro that is downloaded from the technote. This sample macro has the code clarification to use the IManageExtensibility Object and its GetDocumentFromPath Method.