i use the serial activeX control within the internet explorer with vbscript.
i have a device sending FF 02 FD E8.
the only value i receive is the E8 as 232.
how can i receive the whole bytes? can i receive them as hex bytes?
can you supply some examples?
i use the following function as in your vbs example:
Sub SPortX_OnRxChar(ByVal Count)
If Count > 0 Then
ReadBuff = SPortX.ReadVariant(Count)
ASize = UBound(ReadBuff) - LBound(ReadBuff) + 1
for a = 0 to ASize-1
res = ReadBuff(a)
thank you in advance,