Showing results for 
Search instead for 
Did you mean: 

ProgressBar: call of service not succeeded

Former Member
0 Kudos

Hi All,

When I try to set value/text ProgressBar property in my event handle...sometimes it goes in error with this message

<b>call of service not succeeded : at SAPbouiCOM.ProgressBarClass.set_Value(Int32 pVal) at .. etc..</b>


<b>call of service not succeeded : at SAPbouiCOM.ProgressBarClass.set_Text(String pVal) at .. etc..</b>

this is the code:

Private Sub _Procedure_Elaboration(ByVal countAs Integer, ByVal totalCount As Integer) Handles _Procedure.Elaboration

        If _ProgressCreated = False Then
            _pBar = myApp.StatusBar.CreateProgressBar(String.Empty, totalCount , False)
           _ProgressCreated = True
        End If

        _pBar.Text = String.Format("Elaboration {0}/{1}: ", count, totalCount)
        _pBar.Value = count

End Sub

thanks a lot

best regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Eicef

Trying with:

_pBar.Text = String.Format("Elaboration /: ", count<b>.toString</b>, totalCount<b>.toString</b>)

I hope useful

Kinds Regards

Answers (0)