I am randomly encountering this error during the run of my VBA macros on the 10.1 Rocket TE (32bit) V10.1.4.4556: "ErrNbr: -2147467259, ErrDescript: Method 'getDisplayText' of object 'IWhllObj' failed"
We have recently upgraded from BlueZone 8.1 (64bit) TN5250 to Rocket 10.1 (32bit) TN3270. With our previous version, we have created many automations with VBA macros for our business.
With this transition, we are seeing the above error often. We will run the script as usual and at some point, this will flag and cause our file to "Fail Save" and report the error. On restart to step thru, the macro will be unable to progress past the first "SESSION.READSCREEN" command. However, I have an If SESSION.CONNECTED=true command prior that the macro is able to step thru no problem.
I've tested other commands and SESSION.CONNECTED, SESSION. SESSION.FULLNAME, SESSION.GETSESSIONID, SESSION.GETSESSIONID all work accurately. But if I attempt to do SESSION.READSCREEN, GETDISPLAYTEXT, SENDKEY, WRITESCREEN, I get the following errors during the step thru:
These do not present upon initial compile. The macro works fine in first few minutes. I am able to fully close the session and restart the session with the macros able to step thru first instances of SESSION.READSCREEN and SESSION.GETDISPLAYTEXT. It is only after the first "error", that any restart results in an immediate error at first READSCREEN call.
I have a feeling it is the 64 to 32 bit change and something needs to be updated within the macro to accommodate this somehow. Even the connection type may have impacted these executions. However, I have looked thru the Automation Dev Guide with no success on determining root cause. If someone can please advise a potential resolution or next troubleshooting steps, that would be fantastic! Thank you!
We are using the following libraries in VBA: bzvba 10.1 Type Library, BZWhll Type Library
Apologies, was duplicate post.
77 4th AvenueWaltham, MA 02451 USA
Rocket Support Community
All Support Offerings
About Rocket Software
Training and Services
Forum Terms and Conditions
Contact Forum Moderator