Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB.NET control HLLAPI for QUICK3270 mainframe

Status
Not open for further replies.

oliverrice

Programmer
Aug 12, 2011
5
GB
Hi,

I know that this is more of a mainframe question than a VB question but I hoping that somebody on here may have stumbled accross this before.

The company I work for used to have a system called IBM RUMBA (NetManage) and I successfully managed to control it using VB.NET. By control it, i mean that I was able to screen scrape, send keys, set cursor so on and so fourth...

Now it seems that my company has decided we must use Quick3270 terminals. I suspect because they are cheaper. When automating RUMBA, all I did was use a public declare function to "ehlapi32.dll", I was then able to use the functions built into the ehlapi file to perform tasks such as the following:

Code:
Public Declare Function WD_ConnectPS Lib "ehlapi32.dll" (Func as integer, Strng as string, Lens as length, Pos as integer) as integer

Sub TestHllapi()
Dim RV as integer

RV = WD_ConnectPS(1, "A", 0, 0)

End Sub

The problem is that the same will not work for Quick3270. Quick3270 does also have a ehlapi32.dll file but, looking at the dependencies of the dll, it does not have the same internal functions as the ehlapi32 file shipped with RUMBA.

Does anybody have any experience with automating Quick3270 with VB.NET? If so, I would really appreciate some sample code to point me in the right direction?

Many Thanks,

Oliver

 
Many years ago the company I then worked for used an old AS400 with the Rumba interface. I developed a few programs using methods similar to those you describe. I have never heard of Quick3270, however you might want to look at smsfinvest's reply at "
Although this is for VBA it shouldn't be too difficult to convert it to .Net as long as you have the relevant libraries.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top