包装多个办公室版本 [英] Packaging for multiple office versions

查看:86
本文介绍了包装多个办公室版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我需要打包一个访问应用程序并发送给客户。我的应用程序调用

outlook发送电子邮件。问题是客户端PC每个都有一个不同版本的outlook(2000,xp,2003等)。如何打包我的应用程序

它适用于任何版本的Outlook?


谢谢


问候

Hi

I need to package one of my access apps and send to clients. My app calls
outlook to send emails. The problem is that client pcs can each have a
different version of outlook (2000, xp, 2003 etc.). How can I package my app
that it will work with any version of outlook?

Thanks

Regards

推荐答案

如果你在2000年打包,那么2003就能读懂它

If you package in 2000 then 2003 will be able to read it


你想要的是后期绑定。


而不是设置对Outlook的引用(链接到特定版本),

你会做什么这样的事情...


Dim objOutlook作为对象

设置objOutlook = CreateObject(" Outlook.Application")


问题是当你这样做时你不会得到intellisense,所以我通常

用绑定的对象编写我的代码,使用特定的引用,然后取消绑定

他们在发货之前......或者每当我完成这些物品的工作时。


-

Danny J. Lesandrini
dl*********@hotmail.com
http://amazecreations.com/datafast


" ;约翰" <乔** @ nospam.infovis.co.uk>写了...
What you want is Late Binding.

Rather than set a reference to Outlook (which is linked to a specific version),
you would do something like this ...

Dim objOutlook As Object
Set objOutlook = CreateObject("Outlook.Application")

The problem is that you don''t get intellisense when you do this, so I usually
write my code with bound objects, using a specific reference, and then unbind
them before delivery ... or whenever I''m done working with the objects.

--
Danny J. Lesandrini
dl*********@hotmail.com
http://amazecreations.com/datafast

"John" <Jo**@nospam.infovis.co.uk> wrote ...


我需要打包我的一个访问应用程序并发送给客户。我的应用程序调用outlook发送电子邮件。问题是
客户端PC可以各自具有不同版本的outlook(2000,xp,2003等)。如何打包我的应用程序,它将与任何版本的Outlook一起工作?
Hi

I need to package one of my access apps and send to clients. My app calls outlook to send emails. The problem is that
client pcs can each have a different version of outlook (2000, xp, 2003 etc.). How can I package my app that it will
work with any version of outlook?






John写道:


我需要打包一个访问应用程序并发送给客户。我的应用
调用outlook发送电子邮件。问题是客户端的每个人都可以拥有不同版本的outlook(2000,xp,2003等)。我如何打包我的应用程序,它适用于任何版本的Outlook?
Hi

I need to package one of my access apps and send to clients. My app
calls outlook to send emails. The problem is that client pcs can each
have a different version of outlook (2000, xp, 2003 etc.). How can I
package my app that it will work with any version of outlook?




后期绑定。这允许您使用外部库而不需要设置对它们的引用(并且大部分)使代码版本独立于



-

我没有查看此邮件附带的电子邮件帐户

。发送给...

在Hunter dot com的RBrandt



Late binding. This allows you to make use of external libraries without
setitng a reference to them and (for the most part) makes the code version
independent.

--
I don''t check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


这篇关于包装多个办公室版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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