VB.Net and IAccess Client

Paul Yoskowitz
Paul Yoskowitz used Ask the Experts™
I need to write a screen scraping program for an IBM 5250 session, using VB.Net and IBM iAccess Client Solution. I have not been able to find any information on this. Can anyone help me with a few links to the needed DLLs and code examples for this?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Theo KouwenhovenApplication Consultant
Hi Paul,

I'm not sure that you can do that from VB.Net,
I can do it from a VB-script macro within my ClientAccess emulation  

Something like:

TextField = autECLSession.autECLPS.GetText(line, pos, length)

Links about Access Class Library:

See also:
VP Technology / Senior Consultant
The newer IBM i Access Client Solution (ACS) product provides the same basic API as IBM i Access for Windows.  5250 emulator automation is provided by EHLLAPI or HACL automation.  From .NET, you will want to use EHLLAPI.  This article contains an explanation of basic capabilities and tools, and links to API documentation, examples, etc:


Please note that the basic version of ACS that is freely downloadable does not include the Windows 5250 automation components.  For that, you need to obtain the ACS Windows Application Package via ESS (IBM or your Business Partner may also be able to help you obtain this if you don't have ESS).  This support article discusses options for obtaining the various ACS components and licensing requirements:


Some example code:

Paul YoskowitzSystems Developer


I had the files from IBM. what i was missing was the code here


that Gary had suggested.

now, what i had to do was rebuild it as a VS2017, 32 bit, VB.NET DLL and app. after a few more google searches and about a day or 2, i got it to work.

thanks for the help and suggestions!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial