Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Worksite SaveAs dialog in PowerPoint and Excel
EvDev
How can we call the Worksite SaveAs dialog in PowerPoint and Excel from a VB6 COM-Addin?
Find more posts tagged with
Comments
jny
MS does not allow this. You can try creating your own IManFileSaveCmd instead but it's a lot of work to take over the entire save implementation.
Or, try calling a macro that presses the button from your COM-Addin...I know this sounds kludgy but if it works, i'll be less expensive.
EvDev
That's to bad. I'm trying to use an XLA file for Excel now, but I don't have much hope.
EvDev
I'm getting pushed to make this happen with an IManFileSaveCmd. Could anyone point me in the right direction?
Thanks
jny
You would need to start by getting the currently connected session from the Context("NRTDMS")which is exposed by the IManO2k.IManageExtensibility Object - to use for invoking an instance of the IManFileSaveCmd Object. From there, you will get the import location from the end user. Then, use either the ImportCmd object (in silent mode) or the imanage.dll API's to checkin the activedocument. You would need to temporarily save and close this office document then use OpenCmd to open it.
You should contact Devsupport for assistance in navigating through this implementation approach.
For starter, you should download the technote that has documentation and code examples in both C# and VB on using the IManFileSaveCmd object at
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=53218
This approach will be quite laborious and involved as you will essentially be mimicking the default WorkSite save behavior.