Office Interop - 添加Outlook区域表单 [英] Office Interop - Adding Outlook Region Form

查看:82
本文介绍了Office Interop - 添加Outlook区域表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将区域表单(在Outlook 2010中创建)添加到Visual Studio Outlook 2010插件项目中。将表单另存为.ofs文件可以正常工作。但是当我尝试将它添加到Visual Studio中的项目时,我在创建区域表单
向导中收到以下错误。

I'm trying to add a Region Form(created in Outlook 2010) to Visual Studio Outlook 2010 addin project. Saving the form as an .ofs file works fine. But when I try to add it to the project in Visual Studio I got the following error in the Create Region Form wizard.

无法转换类型为'System .__ ComObject'的com对象

到界面类型 

'Microsoft.Vbe.Interop.Forms.UserForm'

此操作失败,因为用于具有IID的接口的COM组件上的QueryInterface调用 

。 ...."失败 

由于以下错误:接口未注册

(HRESULT异常:0x80040155)

任何帮助将不胜感激..

Any help will be appreciated..



推荐答案

嗨多普勒,

 

感谢您在MSDN论坛上发帖。

< span lang ="EN-US">  

请您给我一个表单区域的说明,告诉我您在表单区域中使用了哪些控件并告诉我创建
区域表单向导。

 

祝你有个美好的一天,

 

Tom


这篇关于Office Interop - 添加Outlook区域表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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