MSCOMM.INPUT - STRING MANIPULATION
Posted on 1999-07-23
I HAVE WHAT SOME MIGHT CALL A BIT OF A PROBLEM WITH A EMULATOR::::
i have a string com in on a com port
just like this
public buffer2 as variant
private static sub mscomm1_oncomm()
select case mscomm1.commevent
dim buffer as variant
buffer = mscomm1.input
buffer2 = buffer
easy enough, well ok the string i have comming in has and escape character (chr(27)) followed by a 4 diget number, in which the first two digets handle my row and the second two digets handle my colum. This is then followed by clear text to be displayed on the screen, which i will never know the string length, which will be followed by another escape character (chr(27)) and 4 digits (row,col) and clear text
every time i get a escape character i need to set my row and col (which i have my control array already made and my functions that set this)
--- i believe their has to be some way to load buffer into buffer2 and then as i get what i need out of buffer2 delete it and as buffer fills up what ever information is fill into buffer will be added to buffer2.
ex: of string
(chr(27))0107mscomm controls are hard to get help with.(chr(27))0308but only in visual basic.
as you can see i need help!!!!!!!!!!!!!