找不到 Microsoft Forms 2.0 对象库或 FM20.DLL [英] Can't find Microsoft Forms 2.0 Object Library or FM20.DLL

查看:120
本文介绍了找不到 Microsoft Forms 2.0 对象库或 FM20.DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的 Excel 2016 项目 (Windows 7) 中,我想使用剪贴板:

In my Excel 2016 project (Windows 7), I'd like to work with the clipboard:

Dim DataObj As New MSForms.DataObject
DataObj.GetFromClipboard

但是我在第一行代码中出现了这个编译器错误:

But I've got this compiler Error at the first line of code:

用户自定义类型未定义

所以我想添加对 Microsoft Forms 2.0 对象库的引用,但我的整台计算机上没有 FM20.DLL 文件(我已通过 explore 和 find 与 cygwin).

So I would like to add the reference to the Microsoft Forms 2.0 Object Library but I have no FM20.DLL file on my entire computer (I have searched through explore and find with cygwin).

我希望在下面的屏幕截图中看到它,但我找不到它.

I expect to see it as in the screenshot below, but I can't find it.

我怎样才能让它出现?

推荐答案

来自这个老知识基础文章 我猜这个 DLL 可能只包含在旧版本的 Office 中?这部分看起来很有希望:

From this old knowledge base article my guess would be this DLL is perhaps only included in older versions of Office? This part seemed promising:

作为让最终用户安装 Microsoft Office 的替代方法,您可以让他们免费下载并安装 Microsoft ActiveX控制板,它还安装 Fm20.dll.想要查询更多的信息,请参阅以下 Microsoft 开发人员网络 (MSDN) 网站:http://msdn.microsoft.com/en-us/library/ms968493.aspx

As an alternative to having your end users install Microsoft Office, you can have them freely download and install the Microsoft ActiveX Control Pad, which also installs the Fm20.dll. For more information, see the following Microsoft Developer Network (MSDN) Web site: http://msdn.microsoft.com/en-us/library/ms968493.aspx

但是,由于链接的工具是 1997 年的,您需要在兼容模式"下运行其设置,方法是右键单击可执行文件并选择属性",然后单击兼容性"选项卡并选择Windows95"在以兼容模式运行此程序:"下拉菜单.然后以管理员身份运行它(这对我使用 Windows 8.1 有效).

However, as the linked tool is from 1997, you'll need to run its setup in "compatibility mode" by right-clicking on the executable and selecting "Properties" then clicking on the "Compatibility" tab and selecting "Windows 95" in the "Run this program in compatibility mode for:" dropdown. Then run it as administrator (this worked for me using Windows 8.1).

这篇关于找不到 Microsoft Forms 2.0 对象库或 FM20.DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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