How to make SendKeys act Synchronously in IBM Host Access Library

The “Operator Information Area” class seems to provide a solution for this problem. My general case seems to be working correctly with this implementation: Friend Sub PutTextWithEnter(ByVal field As FieldDefinition, ByVal value As String) If IsNothing(field) Then Throw New ArgumentNullException(“field”) If IsNothing(value) Then Throw New ArgumentNullException(“value”) _Presentation.SendKeys(Mid(value.Trim, 1, field.Length).PadRight(field.Length) & “[enter]”, field.Row, field.Column) WaitForEmulator(_Session.Handle) End … Read more