Ribbons, IDTExtensibility2, & shims

X

XL-Dennis

W

Wei Lu [MSFT]

Hello Dave,

Since the Com Shim is published before Ribbon control, we did not provide
Ribbon support in Shim.

Currently, I did not get update from internal, I will check with them.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
P

Patrick Schmid [MVP]

That would have been me. If you are using the COM Shim Wizard from
Microsoft, then in fact there is no way to shim an add-in that uses the
Ribbon API. The problem is that your add-in needs to implement
IDTExtensibility2 and IRibbonExtensibility. Unfortunately, the COM shim
doesn't support IRibbonExtensiblity. MS is working on an updated version
of the shim wizard though.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://pschmid.net/office2007/ribboncustomizer
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed
 
D

David Thielen

thank you both of you.

ALso, if you have any contact with the group doing the shim code - we
improved the shim code and I would be happy to give those improvements to MS
so they can have them in the new version.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm




Patrick Schmid said:
That would have been me. If you are using the COM Shim Wizard from
Microsoft, then in fact there is no way to shim an add-in that uses the
Ribbon API. The problem is that your add-in needs to implement
IDTExtensibility2 and IRibbonExtensibility. Unfortunately, the COM shim
doesn't support IRibbonExtensiblity. MS is working on an updated version
of the shim wizard though.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://pschmid.net/office2007/ribboncustomizer
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed

Someone here (I don't remember who) said that there was no way to get to the
Ribbon API for an IDTExtensibility2 AddIn that uses a shim. Is that false?
Can I just call the API from within my AddIn?

Also, if so, and samples out there anywhere?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
P

Patrick Schmid [MVP]

If you can send it to me via email, I'll be sure to pass it on. You can
get my email address from my website.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://pschmid.net/office2007/ribboncustomizer
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed

thank you both of you.

ALso, if you have any contact with the group doing the shim code - we
improved the shim code and I would be happy to give those improvements to MS
so they can have them in the new version.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm




Patrick Schmid said:
That would have been me. If you are using the COM Shim Wizard from
Microsoft, then in fact there is no way to shim an add-in that uses the
Ribbon API. The problem is that your add-in needs to implement
IDTExtensibility2 and IRibbonExtensibility. Unfortunately, the COM shim
doesn't support IRibbonExtensiblity. MS is working on an updated version
of the shim wizard though.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://pschmid.net/office2007/ribboncustomizer
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed

Someone here (I don't remember who) said that there was no way to get to the
Ribbon API for an IDTExtensibility2 AddIn that uses a shim. Is that false?
Can I just call the API from within my AddIn?

Also, if so, and samples out there anywhere?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm




:

Hi David,

What kind of instructions do You have in mind? Customize Ribbon should
usually be done in the startup process.

MSFT has published an UI Style Guide for Solutions and Add Ins:
http://www.microsoft.com/downloads/...38-434b-4ddd-9592-3749f6647105&displaylang=en

---------------
With kind regards,
Dennis
Weekly Blog .NET & Excel: http://xldennis.wordpress.com/
My English site: http://www.excelkb.com/default.aspx
My Swedish site: http://www.xldennis.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top