需要 DLL 的 OCX 文件的名称

发布于 2024-12-14 10:02:17 字数 250 浏览 0 评论 0原文

我有一个 .Net 项目,其中包含以下 dll:

  • AxInterop.Crystal.dll ( comctl32.ocx )
  • AxInterop.MSACAL.dll
  • AxInterop.MSDBGrid.dll
  • AxInterop.MSFlexGridLib.dll

我需要注册 OCX 才能运行我的项目。谁能帮我找到 OCX 文件的名称?

谢谢

I have a .Net project which has the following dlls:

  • AxInterop.Crystal.dll ( comctl32.ocx )
  • AxInterop.MSACAL.dll
  • AxInterop.MSDBGrid.dll
  • AxInterop.MSFlexGridLib.dll

I need to register the OCX to run my project. Can anyone help me out to find the names of the OCX file?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

江挽川 2024-12-21 10:02:17

这些是上个世纪的 VB6 控件。您需要找到一台仍然拥有它们的机器,查看 c:\windows\system32。 .ocx/.dll 文件名应该相当接近。我知道的是 comctl32.ocx、mscal.ocx、dbgrid32.ocx 和 msflxgrd.ocx。让 Crystal Reports 运行起来应该很困难,它从来都不是 VB6 的一个组成部分,并且需要一堆 DLL。这些控件还具有许可验证,您将无法在设计模式下使用它们。这需要 VS6 或 VB6 许可证。您只能在 eBay 等拍卖网站获得 VS6 许可证,VB6 可通过 MSDN 订阅获得。

如果您有一种令人毛骨悚然的感觉,即该软件变得越来越难以维护,那么您是对的。

These are VB6 controls from the previous century. You need to find a machine that still has them, look in c:\windows\system32. The .ocx/.dll file names ought to be reasonably close. The ones I know are comctl32.ocx, mscal.ocx, dbgrid32.ocx and msflxgrd.ocx. Getting Crystal Reports going should be difficult, it was never an integral part of VB6 and requires a bunch of DLLs. These controls also have licensing verification, you won't be able to use them in design mode. That requires a VS6 or VB6 license. You can only get a VS6 license at an auction site like eBay, VB6 is available through an MSDN subscription.

If you get the creeping feeling that this software is getting hard to maintain then you are correct.

红尘作伴 2024-12-21 10:02:17

你试过REGSVR32吗

To register a module, you must provide a binary name.

Usage: regsvr32 [/u] [/s] [/n] [/i[:cmdline]] dllname
/u -    Unregister server
/s -    Silent; display no message boxes
/i -    Call DllInstall passing it an optional [cmdline]; when used with /u calls dll uninstall
/n -    do not call DllRegisterServer; this option must be used with /i

Have you tried REGSVR32

To register a module, you must provide a binary name.

Usage: regsvr32 [/u] [/s] [/n] [/i[:cmdline]] dllname
/u -    Unregister server
/s -    Silent; display no message boxes
/i -    Call DllInstall passing it an optional [cmdline]; when used with /u calls dll uninstall
/n -    do not call DllRegisterServer; this option must be used with /i
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文