login about faq

Hi.

I'm having an issue with the Mailman VB 6.0 ActiveX component. The control fires the ProgressInfo event, but not the PercentDone event. Does anyone know why this is? Below are the definitions of my event handlers. Am I doing something wrong? Please let me know.

Code snippet:

Private Sub mailman_PercentDone(ByVal pctDone As Long, abort As Long) ' << DOES NOT FIRE
    If (frmQMain.GlobalProgressBar.StopButtonClicked) Then
        abort = 1
    Else
        If (Not pctDone) Then
            ' If not done update status
            Call frmQMain.GlobalProgressBar.ProgressClass.IncrementProgressStage
        Else
            ' Otherwise reset the progress indicator
            frmQMain.GlobalProgressBar.ProgressClass.ResetProgressIndicator
            DoEvents
        End If
    End If
End Sub

Private Sub mailman_ProgressInfo(ByVal Name As String, ByVal value As String) ' << FIRES
    frmQMain.GlobalProgressBar.StatusPanel2Text = Name + " = " + value
    DoEvents
End Sub

Thanks,

David

asked Apr 10 '14 at 01:21

David's gravatar image

David
1557


If using the deprecated separate DLL implementation (where various Chilkat objects are contained in separate DLLs, such as "ChilkatMail2.dll"), then the percent-done event callback methods are named SendPercentDone and ReadPercentDone.

If using the combined-DLL implementation (which will be the only one available after v9.5.0), then the percent-done event callback method name conforms to the Chilkat standard name of "PercentDone".

I'm investigating the PercentDone event (within MailMan) to ensure that it's working..

link

answered Apr 11 '14 at 12:32

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

I found the problem. A new build will be coming soon..

(Apr 11 '14 at 14:02) chilkat ♦♦

This new build fixes the problem:

32-bit: http://www.chilkatsoft.com/download/ChilkatAx-9.5.0-win32.zip

64-bit: http://www.chilkatsoft.com/download/ChilkatAx-9.5.0-x64.zip

This is version 9.5.0.29 (as viewed by the "Version" property on a Chilkat object). The problem only affected the newly released single-DLL ActiveX. It had to do with the "abort" output-only argument of the event as being marked "[out, retval]" in the IDL, when it should've only been "[out]", causing a mismatch between the VB6 function and the IDL function. (The events were firing internally, but stopping just short of making it to the VB6 function.)

link

answered Apr 11 '14 at 17:37

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×184
×47
×35
×19

Asked: Apr 10 '14 at 01:21

Seen: 1,455 times

Last updated: Apr 11 '14 at 17:37

powered by OSQA