ActiveX组件无法创建对象:PCOMM.autECLConnList [英] ActiveX component can’t create object : PCOMM.autECLConnList
问题描述
我正在尝试自动发送到使用PCOMM iSeries模拟器连接的大型机应用程序的击键.我不确定我在这里做错了什么,因为同一代码可以在另一台机器上工作.下面是配置,
I am trying to automate the sending keystrokes to a mainframe application which is being connected using PCOMM iSeries emulator. I am not sure on what I am doing wrong here, as the same code works on a different machine. Below are the configurations,
工作机:Windows 10 64位,Office 32位
Working Machine : Windows 10 64 bit, Office 32-Bit
错误机器:Windows 7 64位,Office 64位
Error Machine : Windows 7 64 bit, Office 64-Bit
下面是代码
On Error Resume Next
Set autECLWinObj = CreateObject("PCOMM.autECLConnList")
Set IA = CreateObject("PCOMM.autECLOIA")
Set PS = CreateObject("PCOMM.autECLPS")
PS.SetConnectionByName (Client)
IA.SetConnectionByName (Client)
autECLWinObj.SetConnectionByName (Client)
请帮助,我对此并不陌生,并陷入困境.
Please help, i am new to this and stuck .
P.S:请不要重复这个问题,因为PCOMM没有专门的问题.
P.S : Kindly don't duplicate the question as there are none specific to PCOMM.
推荐答案
将MS Office 64更改为MS Office 32,并且可以正常工作.
Changed MS Office 64 to MS Office 32 and it worked.
这篇关于ActiveX组件无法创建对象:PCOMM.autECLConnList的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!