自动化错误 - 库未注册。 [英] Automation Error -- Library not registered.

查看:345
本文介绍了自动化错误 - 库未注册。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows XP上运行了一个MS access 2003的应用程序(.mde文件),它运行良好。最近在我的电脑上安装了SAS,之后运行我的.mde应用程序时收到消息

自动化错误 - 库未注册。

我找到了在WEB一个推荐 - 注册模块msadox.dll。

Regsvr32.exe" C:\Program Files \Common Files \ System \\\\\\\\\\\
没有用。同样的模块在我的笔记本电脑上运行良好,不受安装任何新软件的影响。

有什么建议吗?

I have running one application (.mde file) of MS access 2003, quite a long time on Windows XP, - it was working well. Recently on my PC was installed SAS, after that while running my .mde application I am getting message
"Automation Error -- Library not registered".
I have found in WEB one recommendation - register module msadox.dll.
Regsvr32.exe "C:\Program Files\Common Files\System\ado\msadox.dll"
Doesn''t help. The same module is working well on my laptop, not affected by installation any new software.
Any suggestions?

推荐答案

您需要检查Access vb库中缺少的引用。要执行此操作,请将任何表单放在设计视图中,然后转到代码编辑器。进入代码视图后,转到访问命令菜单,然后选择工具>引用,检查任何缺少的引用。
You need to check for missing references in your Access vb library. To do this place any of your forms in design view and go to the code editor. Once you are in the Code view, go to the Access command menu, and select Tools> References, checking for any missing references.


好吧,我怎么知道哪个库没有连接(引用)。通常只有5-6个可用。实际上,我已经发现在创建新文件夹时发生错误

设置fs = CreateObject(" Scripting.FileSystemObject")

...

fs.CreateFolder(路径)

...
Well, How I know which library is not connected (referenced). Usually there are only 5-6 out of many available.In fact, I have found already that error occurs while creating new folder by
Set fs = CreateObject("Scripting.FileSystemObject")
...
fs.CreateFolder (path)
...


当你打开引用时它将告诉你哪个库(如果有的话)丢失了。您将在缺少的库参考旁边看到丢失字样。
when you open up the references library it will tell you which one (if any) are missing. You will see the words Missing beside the missing library reference.


这篇关于自动化错误 - 库未注册。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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