how do you flush an mscomm control input buffer??
i have been using this code
If MSComm1.InBufferCount > MSComm1.RThreshold Then
MSComm1.InBufferCount = 0
MSComm1.RThreshold = 27
Exit Sub
End If
but i dont think this actually clears the buffer?!?
is there a way to completely drop everything in the buffer, i imagine there is and its really simple but i cant see it!!
any help greatly appreciated!!! If somethings hard to do, its not worth doing - Homer Simpson
i have been using this code
If MSComm1.InBufferCount > MSComm1.RThreshold Then
MSComm1.InBufferCount = 0
MSComm1.RThreshold = 27
Exit Sub
End If
but i dont think this actually clears the buffer?!?
is there a way to completely drop everything in the buffer, i imagine there is and its really simple but i cant see it!!
any help greatly appreciated!!! If somethings hard to do, its not worth doing - Homer Simpson