是德科技
直播中

刘华

7年用户 168经验值
私信 关注
[问答]

如何使用ActiveX启动MS Outlook?

大家好我如何使用ActiveX控件启动Outlook。
VEE的例子,要求outlook首先运行。一个例子将不胜感激。谢谢你们所有提前克里斯菲普斯

回帖(2)

李秀云

2019-10-31 06:21:13
在公式框中:设置objOutlook = CreateObject(“Outlook.Application”);一般规则是GetObject获取对象的运行实例,而CreateObject创建它(或它的新实例)。
有* * ispotential滥用创建,所以你总是可以先尝试GetObject,如果Get失败则使用useCreateObject。如果你从acontainer文件中获取一个对象,语义会有所不同:GetObject可以做到这一点而Create不能,所以
只有调用toGetObject来创建服务器的多个实例是不可能的。-SHAWN ----您目前订阅vrf为:r***@soco.agilent.com要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists”。
it.agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@it.lists.it.agilent.com“。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。

以上来自于谷歌翻译


     以下为原文

  In a formula box:

Set objOutlook = CreateObject("Outlook.Application");

The general rule is that GetObject gets a running instance of an object,
while CreateObject creates it (or a new instance of it). There *is* the
potential to misuse create, so you can always try GetObject first and use
CreateObject if Get fails.

The semantics are a bit different if you're getting an object from a
container document: GetObject can do this and Create can't, so there's no
possibility of creating multiple instances of the server with only calls to
GetObject.
-SHAWN-


---
You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
举报

李秀云

2019-10-31 06:31:12
在公式框中:设置objOutlook = CreateObject(“Outlook.Application”);一般规则是GetObject获取对象的运行实例,而CreateObject创建它(或它的新实例)。
有* * ispotential滥用创建,所以你总是可以先尝试GetObject,如果Get失败则使用useCreateObject。如果你从acontainer文件中获取一个对象,语义会有所不同:GetObject可以做到这一点而Create不能,所以
只有调用toGetObject来创建服务器的多个实例是不可能的。-SHAWN ----您目前订阅vrf为:r***@soco.agilent.com要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists”。
it.agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@it.lists.it.agilent.com“。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。

以上来自于谷歌翻译


     以下为原文

  In a formula box:

Set objOutlook = CreateObject("Outlook.Application");

The general rule is that GetObject gets a running instance of an object,
while CreateObject creates it (or a new instance of it). There *is* the
potential to misuse create, so you can always try GetObject first and use
CreateObject if Get fails.

The semantics are a bit different if you're getting an object from a
container document: GetObject can do this and Create can't, so there's no
possibility of creating multiple instances of the server with only calls to
GetObject.
-SHAWN-


---
You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
举报

更多回帖

发帖
×
20
完善资料,
赚取积分