缺少参考MSOUTL.OLB [英] Missing Reference MSOUTL.OLB

查看:256
本文介绍了缺少参考MSOUTL.OLB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这已经开始在我的一些客户计算机上。我在我的应用程序中调用outlook来发送电子邮件。我的程序是在客户计算机上编译的.accdr,我接到一些客户的电话,他们收到错误功能不可用。当我执行检查引用时,我发现Outlook对象库OLB丢失,这导致了问题。我发现如果客户对他/她的机器没有看到这种情况正在发生。我不知道为什么之前没有发生过,但现在已经开始了。如果我删除MSOUTL.OLB引用一切正常,但当然对于那些有Outlook然后Outlook不起作用。

我不想有两个程序用于Outlook,另一个用于没有Outlook的用户。

是否有任何机构有任何答案???

谢谢

This has just started on some of my customers computers. I call outlook from within my app to send out emails. My program is on customers computers is compiled .accdr, I getting calls from some of my customers that they are getting an error "function not available". When I do the check references I find that the Outlook object library OLB is missing and that is causing the problem. What I''ve found is that if the customer doesn''t have outlook on his/her machine that this is happening. I don''t know why this hasn''t happened before but now it has started. If I remove the MSOUTL.OLB reference everything works fine, but of course for those that have Outlook then Outlook doesn''t work.
I don''t want to have two programs one for Outlook and another for those without Outlook.
Does any body have any answers???
Thanks

推荐答案

嘿汤姆!


我的第一个问题是为什么企业环境中的所有用户都不愿意没有相同的软件 - 但这可能不在你的手中。


我的第二个问题是,如果他们不使用Outlook,会怎么做他们用于发送电子邮件?如果你有太多的电子邮件选项,那么你的工作变得越来越困难,如果不是不可能的话。


如果只有一个其他的电子邮件选项,那么你需要找出如何将该应用程序集成到Access中 - 以类似于您如何集成Outlook的方式。然后,您只需要确定谁使用哪个电子邮件系统,这可能会成为一场噩梦。


最佳解决方案是在一个电子邮件系统上拥有ll用户。


希望这个hepps!
Hey Tom!

My first question would be why all users in an enterprise environment don''t have the same software--but that''s probably way out of your hands.

My second question would then be, if they don''t use Outlook, what do they use for e-mails? If you have a plethora of e-mail options, then you r job becomes increasingly more difficult, if not impossible.

If there is only one other e-mail option, then you need to figure out how to integrate that application into Access--in a manner similar to how you integrate Outlook. You would then just need to figure out who uses which e-mail system, which can become a nightmare.

The "best" solution is to have ll users on one e-mail system.

Hope this hepps!


好的,我的一些客户不会使用该程序发送电子邮件。该程序可以选择直接从程序中发送以PDF格式创建的报告。

有些客户使用另一封电子邮件创建并保存pdf,然后使用他们的电子邮件提供商(雅虎,gmail等)以这种方式发送报告。

我希望我知道如何设置VBA以使用其他电子邮件提供商,并能够检查每个用户以找出他们使用的电子邮件提供商并切换程序以使用他们的提供商。

无论如何,谢谢你的回复。
OK, some of my customers don''t use the program to send emails. The program has options to send out reports created in PDF right from within the program.
Some customers use another email and create and save the pdf and then using their email provider (yahoo, gmail, etc) send the reports out that way.
I wish I knew how to setup VBA to use other email providers, and be able to check each user to find out which email provider they used and switch the program to use their provider.
Anyway thanks for the reply.


您可能需要在代码中设置错误捕获。这里的理论示例:
  • 有人想从Db发送pdf
  • 数据库询问他们是否使用Outlook
You may have to set up error trapping within your code. Theoretical example here:
  • Someone wants to send a pdf from the Db
  • The DB asks if they use Outlook
如果他们说不,它只是下载PDF并告诉sthem手动发送
If they say no, it just downloads the PDF and tell sthem to send it manually

  • 如果他们说是,数据库会尝试发送
    If they say yes, the DB tries to send it

  • 如果产生错误,它会通知用户并下载PDF
    If an error is produced, it notifies the user and downloads the PDF

  • 如果没有错误,它会发送pdf via outlook
    If there is no error, it sends the pdf via outlook


  • 这篇关于缺少参考MSOUTL.OLB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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