expression.CreateControl2( _ ByVal controlTypeGuid As String _ ) As Object
Parameters
- controlTypeGuid
- See the table in the remarks for Guids to use for each type of control.
expression.CreateControl2( _ ByVal controlTypeGuid As String _ ) As Object
1) 32 contiguous digits
2) Hyphenated groups of 8, 4, 4, 4, and 12 digits (in that order)
3) Groups of 8, 4, and 4 digits, with a subset of eight groups of 2 digits (in that order).
For example (where "d" is a hexidecimal digit whose case is ignored):
{0xdddddddd,0xdddd, 0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}
For the first two formats, enclosing braces or parentheses are optional.For the third format, each group must be prefixed by "0x" or "0X" and separated by commas, and both the subset and entire GUID must be enclosed in braces (embedded spaces and leading zeroes in a group are ignored).
The digits shown in a group are the maximum number of meaningful digits that can appear in that group. You can specify from 1 to the number of digits shown for a group. The specified digits are assumed to be the low order digits of the group.
Use the following GUIDs
Terminal Control | GUID |
Ibm 3270 | {09E5A1B4-0BA6-4546-A27D-FE4762B7ACE1} |
Ibm 5250 | {AF03A446-F278-4624-B9EF-C896DF2CA1CA} |
VT (Open Systems) | {BE835A80-CAB2-40d2-AFC0-6848E486BF58} |
Web | {F1F058B1-0472-4095-A782-3D7333813AD0} |
ALC | {0327C7A7-820D-4F9F-8BD6-11E0398605F1} |
UTS | {C8ADCD4F-3DF8-4BCA-821B-995FEF8DAFEF} |
T27 | {2AB85541-5BE6-4BCB-8AF5-DA2848DBA28C} |
This sample shows how to use the CreateControl2 method to create a new terminal control and then connect the terminal to a host.