VB.Net and IAccess Client

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?
Paul YoskowitzSystems DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Theo KouwenhovenApplication ConsultantCommented:
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:
Gary PattersonVP Technology / Senior Consultant Commented:
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:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Paul YoskowitzSystems DeveloperAuthor Commented:
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!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.