PASSPORT Host Integration Objects -- Sample Source Code
ActiveX and .NET 3270 and 5250 Host Integration
If you would like to view sample source code for applications created with PASSPORT Host Integration Objects (HIO), you can Download a free trial copy of the PASSPORT HIO software which includes the legacy integration object components, programming documentation, sample test programs and sample source code.
There are eight sample applications that demonstrate how to use the various features of PASSPORT Host Integration Objects.
C# .Net Server
This server based sample program demonstrates how to use PASSPORT Host Integration Objects in C# ASP.NET. This sample is a web application that connects to the Library Of Congress and allows you to search for copyright information. After the user types text to search for and clicks the "Submit" button, a host session is created at the server, then information is retrieved from the host and sent back to the client in an HTML table if information is found.
Documentation
C# .Net Client
This sample application demonstrates how to use (1) the HIO object, and (2) the HIO object in conjunction with the Terminal Control object.
When the sample application is started, there is a single menu command: Session. Use the Session->Open HIO Client to start a host session using just the HIO object. Use the Session->Open Terminal Control Client to start a host session using an HIO object, and also use the Terminal Control object to display the session screen.
Documentation
VB .Net Client
This sample application demonstrates how to use (1) the HIO object, and (2) the HIO object in conjunction with the Terminal Control object.
When the sample application is started, there is a single menu command: Session. Use the Session->Open HIO Client to start a host session using just the HIO object. Use the Session->Open Terminal Control Client to start a host session using an HIO object, and also use the Terminal Control object to display the session screen.
Documentation
VBScript - HTML Page
This client based sample web application uses VBScript to test the properties and methods of each object.
Documentation
Visual Basic
This client based sample program is a Visual Basic program that references the PASSPORT HIO Type Library. It has Menus and uses the events OnSessionChanged, OnScreenChanged and OnOIAChanged.
Documentation
Visual C++
This client based sample program demonstrates how to use PASSPORT Host Integration Objects in Visual C++. This sample is a minimized version of terminal emulator with following functionality:
- Connecting
- Disconnecting
- Inputting data
- Moving cursor
- Submitting ENTER to interact with the host
Documentation
Terminal Control Sample - HTML Page
This sample HTML page shows how to create four terminal control objects and connect them to the same PASSPORT HIO session object. This HTML page displays four views of the same session.
Documentation
Terminal Sample Program - Visual Basic
This client based sample program is a Visual Basic program that shows how to use the PASSPORT terminal object in conjunction with a PASSPORT HIO session object.
Documentation
|