Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Application has stopped working B1 V9

Hi

I have wrote a report for a customer for B1 V9 which takes some time to run as it runs lots of queries

With the customers data, running it locally it takes about 1 minute on my notebook

On the customers network they keep getting a message about the application has stopped working at various points in the program and doesn't finish

I update the message bar but wonder if it could be the form I am displaying which I am not updating which could be causing problems

We are both running B1 V9 PL8

Just wondered if anyone has had a similar problem and can suggest anything please ?

Thanks

Andy

replied

Hi Andy,

The VB version :

The calling

        Dim oTimer As New System.Threading.Timer(New System.Threading.TimerCallback(AddressOf oTimerCallBack))

         Try

               oTimer.Change(0, 1000 * 60) 'Trigger every 60 seconds

               'Do your heavy processing here.

         Catch

          Finally

               oTimer.Dispose

          End Try     

Callback procedure

    Private Sub oTimerCallBack(ByVal State As Object)

        Try

            SBO_Application.RemoveWindowsMessage(SAPbouiCOM.BoWindowsMessageType.bo_WM_TIMER, True)

        Catch ex As Exception

            MsgBox(ex.Message)

        End Try

    End Sub

Regards

Edy

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question