Jul 30th, 2010, 2:10am
   FabulaTech Forum
   Serial Port Solution
   Serial Port Control
(Moderators: George_White, Alex_Webster, Mike, Andrew)
   PurgeQueue Method help
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Print Print
   Author  Topic: PurgeQueue Method help  (Read 15 times)
mbinder
FabulaTech Forum Newbie
*





   
View Profile

Posts: 4
PurgeQueue Method help
« on: Oct 23rd, 2009, 12:17am »
Quote Quote Modify Modify

Hello,
 
it seems i cant handle the "PurgeQueue Method" in VB6, can you please give me an example? Thank you.
 
Martin
IP Logged
George_White
FabulaTech Forum Moderator
FabulaTech Forum Full Member
*****






   
View Profile

Posts: 219
Re: PurgeQueue Method help
« Reply #1 on: Oct 23rd, 2009, 5:34am »
Quote Quote Modify Modify

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.
IP Logged
mbinder
FabulaTech Forum Newbie
*





   
View Profile

Posts: 4
Re: PurgeQueue Method help
« Reply #2 on: Oct 26th, 2009, 2:32pm »
Quote Quote Modify Modify

Thank you. Found my mistake.
 
Your answers very fast. That´s great and not usual. Thanx.
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Print Print

« Previous topic | Next topic »