Microsoft Outlook 互操作抛出 COMException (0x84130003)
我似乎无法在 Google 或 MSDN 上找到此异常代码所指示的内容,并且它是间歇性发生的,并且没有我可以辨别的模式。以前有人遇到过这个吗?失败似乎发生在此处的最后一行:
Dim olApp As New Outlook.Application
Dim olNS As Outlook.NameSpace = olApp.GetNamespace("MAPI")
Dim olMail As Outlook.MailItem = olApp.CreateItem(Outlook.OlItemType.olMailItem)
任何帮助将不胜感激。
I can't seem to find a thing on what this exception code indicates on Google or MSDN, and it's occurring intermittently and without a pattern I can discern. Has anyone run across this before? The failure seems to occur on the final line here:
Dim olApp As New Outlook.Application
Dim olNS As Outlook.NameSpace = olApp.GetNamespace("MAPI")
Dim olMail As Outlook.MailItem = olApp.CreateItem(Outlook.OlItemType.olMailItem)
Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来您还没有创建 olApp 对象。
此链接应该可以帮助您:
http://support.microsoft.com/kb/220595
Looks like you haven't created your olApp object.
This link should help you out:
http://support.microsoft.com/kb/220595