使用vsto在Outlook 2013中添加按钮 [英] use vsto to add button in Outlook 2013

查看:159
本文介绍了使用vsto在Outlook 2013中添加按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的专家,


请帮忙,我按照此文档在邮件项目的邮件标签中添加自定义按钮:


http://blogs.msdn.com/b/vsto/archive/2009/12/15/making-a-custom-group-appear-in-the-message- tab-of-a-mail-item-norm-estabrook.aspx


我创建了加载项目,并添加了功能区,但是当我运行probject时,我在消息标签中看不到自定义组。


谢谢


 

解决方案

嗨stmart,


首先,基于该博客,他没有添加其他控件要分组,所以组会很小,你可能找不到它。所以,请添加一些控件(例如按钮)


其次,对于Outlook 2013,默认情况下,它会在添加新功能区(可视设计器)后添加新组(Id为Group1) ,对于那些Ribbons,它们都有相同ID的组,这是冲突的,它可能导致自定义组不会显示。所以,请
使用不同的ID。


第三,请检查该加载项是否正确加载。


  1. 文件=>选项
  2. 选择加载项
  3. 选择COM加载项并单击Go ...
  4. 检查加载项是否已选中。

另一方面,请确保这些色带的RibbonType正确。


最好的问候


Starain


Dear Experts,

Please help, I follow this document to add the custom button in the Message Tab of a Mail Item:

http://blogs.msdn.com/b/vsto/archive/2009/12/15/making-a-custom-group-appear-in-the-message-tab-of-a-mail-item-norm-estabrook.aspx

I have created the add-in project, and add the ribbon, but when i run the probject, I don't see the custom group in the message tab.

Thanks

 

解决方案

Hi stmart,

First, based on that blog, he doesn’t add other controls to group, so the group will be small, you may don’t find it. So, please add some controls (e.g. button)

Secondly, for Outlook 2013, by default, it will add a new group (Id is Group1) after add a new Ribbon (Visual Designer), so for those Ribbons, both of them has the group with same ID, which are conflict and it may lead the custom group won’t show. So, please use the different ID.

Thirdly, please check whether that add-in is loaded correctly.

  1. File=>Options
  2. Select Add-ins
  3. Select COM Add-ins and click Go…
  4. Check your add-in is checked.

On the other hand, please make sure RibbonType of these Ribbons are correctly.

Best Regards

Starain


这篇关于使用vsto在Outlook 2013中添加按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆