FabulaTech Forum (https://www.fabulatech.com/forum/board-serialportcontrol-action-display-num-169282246.html)
Serial Port Solutions >> Serial Port Control >> PurgeQueue Method help
(Message started by: mbinder on Oct 23rd, 2009, 12:17am)

Title: PurgeQueue Method help
Post by mbinder on Oct 23rd, 2009, 12:17am
Hello,

it seems i cant handle the "PurgeQueue Method" in VB6, can you please give me an example? Thank you.

Martin

Title: Re: PurgeQueue Method help
Post by George_White on Oct 23rd, 2009, 5:34am
Here's an example:

Private Sub Command1_Click()
Call FTSPCControl1.PurgeQueue(ftspcPurgeNone, ftspcPurgeAbortClear)
End Sub


What exactly can't you achieve?
If you don't see results of this method - check with Portmon to see the call moment.

This operation may not do anything, if there are no data in the port waiting for processing.

Title: Re: PurgeQueue Method help
Post by mbinder on Oct 26th, 2009, 2:32pm
Thank you. Found my mistake.

Your answers very fast. That´s great and not usual. Thanx.