Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

February 15, 2006

Chilkat Mail ActiveX Events

Question:
Are progress events available for the Chilkat Mail ActiveX?

Answer:
Yes. There are three events on the Mailman2 object, as shown in the example below. Be sure to add a "Reference" to the component, and then declare the mailman globally with events:


Public WithEvents mailman As ChilkatMailMan2

‘ Called when the percentDone increases by one or more.
Private Sub mailman_ReadPercentDone(ByVal percentDone As Long, abort As Long)
‘ Set abort = 1 if you wish to abort.
End Sub

‘ Called when the percentDone increases by one or more.
Private Sub mailman_SendPercentDone(ByVal percentDone As Long, abort As Long)
‘ Set abort = 1 if you wish to abort.
End Sub

‘ Called if too much time elapses between SendPercentDone or ReadPercentDone events,
‘ to give your app a chance to abort.
Private Sub mailman_AbortCheck(abort As Long)
‘ Set abort = 1 if you wish to abort.
End Sub


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.