The APAX 1.12 version fixed the TerminalActive issue, so make sure you are
using that version first of all. Are you sending the login string in your
application and are you following the string with a carriage return. I think
that you are not actually receiving the "*" characters. If you generate a
dispatcher log, then you should see the real characters being sent. You can
generate a dispatcher log by setting the Logging property to tlOn and
specifying an explicit path and file name (C:\APAX.LOG) for the LogName
property.
The Asterisk (*) is a wildcard. You should be able to look for a carriage
return, and use the asterisk wildcard to receive any number of characters
before the carriage return as long as the carriage return follows directly
after the asterisk when setting up the data trigger. Look at the subjects
"Wildcards" and "Return Carriage trigger" in this newsgroup on Nov 7.
I really don't have enough information to know how your system/application
is working, but I would think that the above information should help you.
Are characters being echoed back? Are escape sequences being used? Are you
in control of both sides?
--
Don Hill (TurboPower Software)
"Alejandra Moreno" <almo...@hotmail.com> wrote in message
news:9yGoLdz...@tpsmail01.turbopower.net...
Cheers,
Alejandra
"Don Hill" <mails...@turbopower.com> wrote in message
news:QAtLGXai...@tpsmail01.turbopower.net...
Did you try using the new OnProcessChar event? There is some information in
the readme.hlp under the "Additions/Changes to the documentation" link.
--
Don Hill (TurboPower Software)
"Alejandra Moreno" <almo...@hotmail.com> wrote in message
news:SInK$oiiCH...@tpsmail01.turbopower.net...
I am trying now the OnProcessChar event to trigger the '*' char and I get
run-time error 13, character mismatched, and when I stop the debugger i get
another error: Format '%s' invalid or incompatible with argument.
This is what I tried:
Private Sub Apax1_OnProcessChar(ByVal CharSource As Apax1.TxCharSource,
ByVal Character As Byte, ReplaceWith As String)
Dim a As String
a = "*"
If Character = CByte(a) Then
ReplaceWith = ""
End If
End Sub
I also tried with a = "\*" and with converting to Byte. What is wrong?
Thanxs again,
Alejandra
"Don Hill" <mails...@turbopower.com> wrote in message
news:2vK8WJ3i...@tpsmail01.turbopower.net...
Alejandra
"Alejandra Moreno" <almo...@hotmail.com> wrote in message
news:I2w4c2#iCHA...@tpsmail01.turbopower.net...