使用Outlook应用程序 [英] Using Outlook Application

查看:87
本文介绍了使用Outlook应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我进行以下调用以在sub中声明对象时,程序在VS环境中崩溃。



Dim oApp As New Outlook.Application



为什么会发生这种情况以及如何纠正?

解决方案

添加引用 Microsoft .Interop.Outlook

When I make the following call to declare the object in a sub, the program crashes in the VS environment.

Dim oApp As New Outlook.Application

Why does this happen and how is it corrected?

解决方案

Add Reference Microsoft.Interop.Outlook


这篇关于使用Outlook应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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