Comm32 Logo
Home Button   

Topic:   Clear buffer with .InBufferCount

By: GuestPosted on: Jun 22 2011 at 02:31:02 PM
Hello,
I had some problem with the .inbuffercount properties of the OCX: as I understand the command "Comm.InBufferCount = 0" should clear the reception buffer, but it doesn't... To really clear the buffer I had to do:

if Comm.InBufferCount 0 then
buffer = Comm.Input
end if

Is there any reason of why simply "Comm.InBufferCount = 0" doesn't work?

Thanks

By: Support Posted on: Jun 22 2011 at 08:23:02 PM
Please email. I'll send you an updated version of the cox

support at comm32.com

By: SupportPosted on: Jun 25 2011 at 09:48:54 PM
Just make sure you're using the latest version.