InfoConnect for Airlines
CreateControl(Guid) Method
Example 


The control's Guid.

For non graphics (VT) terminals, use
{BE835A80-CAB2-40d2-AFC0-6848E486BF58}

For ReGIS Graphics terminals, use
{C62BA7E4-5A20-4681-931B-07BF7C971D13}

For 3270 IbmTerminals use
{09E5A1B4-0BA6-4546-A27D-FE4762B7ACE1}

For 5250 IbmTerminals, use
{AF03A446-F278-4624-B9EF-C896DF2CA1CA}

Creates a control by its Guid type.
Syntax
'Declaration
 
Public Overloads Function CreateControl( _
   ByVal controlType As Guid _
) As Object
'Usage
 
Dim instance As Application
Dim controlType As Guid
Dim value As Object
 
value = instance.CreateControl(controlType)
public object CreateControl( 
   Guid controlType
)

Parameters

controlType

The control's Guid.

For non graphics (VT) terminals, use
{BE835A80-CAB2-40d2-AFC0-6848E486BF58}

For ReGIS Graphics terminals, use
{C62BA7E4-5A20-4681-931B-07BF7C971D13}

For 3270 IbmTerminals use
{09E5A1B4-0BA6-4546-A27D-FE4762B7ACE1}

For 5250 IbmTerminals, use
{AF03A446-F278-4624-B9EF-C896DF2CA1CA}

Return Value

A terminal control.
Exceptions
ExceptionDescription
APINotInitializedExceptionAPI Service has not been initialized.
Remarks

Example
This sample shows how to create a new terminal control

	
See Also