【发布时间】:2020-10-08 09:20:11
【问题描述】:
我正在尝试通过 VB.Net 自动化 Microfocus Rumba 应用程序。由于某些限制,我无法使用 Rumba 中内置的任何宏/脚本功能。
我知道 ehlapi32.dll 可用于自动化 Rumba,但我无法添加 ehlapi32.dll 或 WHLLAPI.dll 作为对 .Net 解决方案的引用。
由于“无法创建 Activex 组件”错误,我无法创建“Microfocus.Rumba”/“Rumba.System”/“Rumba.Application”的对象。我试图通过使用 RegAsm.exe 注册 dll 来解决它。但它说 Dll 不是有效的 .net 程序集。
我已附上错误快照。
Error while adding the dlls in References section of the .Net solution
Cannot create ActiveX component error
Not a valid .Net assembly error
注意:我使用的是 MicroFocus Rumba Desktop 9.4.1
非常感谢任何指导。
谢谢。
【问题讨论】:
标签: vb.net automation mainframe microfocus