Link to home
Start Free TrialLog in
Avatar of LongDave
LongDave

asked on

MSComm control OnComm event triggered by chr(13)

Using the MSCOMM control in VB6 (XP Pro) , is there any way to have the control generate the 'OnComm'
event when it sees a <cr>?  I would like to have it not generate commevent 2 until the entire line is read in.
Line lengths are variable, so I can't use a fixed length input. Thanks!
ASKER CERTIFIED SOLUTION
Avatar of EDDYKT
EDDYKT
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LongDave
LongDave

ASKER

Thanks, guys - this is what I thought, but it's nice to have it verified. PaulHews - what you showed me
is exactly the way I'm already doing it :-). I was just hoping there was the <cr> alternative possible.. Thanks again!