Original Message:
Sent: Tue February 21, 2023 11:16 AM
From: Albert Rice
Subject: Need Help Converting Excel VBA Automated Scripts from i Access for Windows to Work with i Access Client Solutions
Hello Rod and Satid:
Thanks for your feedback and recommendations.. A couple observations for your comment. Since we have litterly hundreds of Vbs/VBA scripts in PROD impacted by the constraints of i Access Client Solutions (ACS), I will recommend to my IT team to standup a pc with access to the AS400 using the old i Access for Windows (ACW).
I am not sure why IT decided to upgrade to ACS, given the tremendous effort to re-write so many Vbs scripts, which were devevoped to allow seamless interaction between Excel and the AS400 (by the Financial team) involving menus and macros developed in VBA and Vbs. Note in the screenshot, below, this financial app allows the finannce team to press a blue button which orchestrantes iteractions between Excel and AS400 and i System Navigator file server (e.g., logging on/off the AS400; writing Excel data to AS400 screens; downloading files from i System Navigator, etc.). Does ACS provide this capability? Could I see sample code (Java, etc) around ACS which can be launched from with Excel to do the same as described above?
I would be happy to share sample of my VBA/Vbs code which underlie the above app.
Thanks for sticking with me here, as we have been pursuring a solution for over a year.
Thanks
------------------------------
Albert Rice
Original Message:
Sent: Mon February 20, 2023 03:41 PM
From: Richard Schoen
Subject: Need Help Converting Excel VBA Automated Scripts from i Access for Windows to Work with i Access Client Solutions
As I see it you have a couple choices:
-Maintain a running copy of old Client Access/IBM Access so you can run your Macros.
-Purchase a copy of IBM Personal Communications (PCOMM) which should be compatible with your macros.
-Learn HLLAPI and do screen scraping. (This would be excruciatingly painful and a large rework most likely)
-Re-write your macros to directly interact with the IBMi database. (More work.)
Unfortunately, I don't think ACS has a usable Macro mechanism. And even if it does it's not compatible with the current stuff in IBM Access/PCOMM.
------------------------------
Richard Schoen
Original Message:
Sent: Fri February 17, 2023 01:51 PM
From: Albert Rice
Subject: Need Help Converting Excel VBA Automated Scripts from i Access for Windows to Work with i Access Client Solutions
As background, we had developed a series of automated interfaces between the AS400 and iSeries Navigator (file server) using Excel VBA and the IBM PCOMM emulator.
Recently, however, following upgrades of the Microsoft Office environment (including Excel) to Windows 7 (64 bit), along with upgrade to IBM I Access Client Solutions (32 bit) emulator, we unable to use the previously developed Excel VBA scripts.
Our ask is if there is a workaround to continue to use (and develop) VBA scripting in Excel (Windows 10 and 64 bit) with the IBM I Access Client Solutions emulator (32 bit) version 1.1.9.1?
The screenshot, below, shown the current Excel/VBA to AS400 flow using Excel/VBA 32 bit with old i Access for Windows 32 bit which has worked very well. The flow below the dotted line shows Excel/VBA to AS400 flow using Excel/VBA 64 bit with new i Access Client Solutions 32 bit desired solution which is not working. Would it be possible to have a quick Zoon call for further clarification and guidance?
------------------------------
Albert Rice
------------------------------