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