I tried Following code for ProgressBar. But i heard that ProgressBar not working in SAP B1 2005. That's y following code not working.
But in Financial Module -> Financial reports -> Financial -> In that plz select any one Like Balance Sheet. In that select Date and To date. And click on Ok button. After clicking how it shows ProgressBar. Like that i want to show ProgressBar.
Dim PBar As SAPbouiCOM.ProgressBar
PBar = SBO_Application.StatusBar.CreateProgressBar("Start...", 27, True)
PBar = Nothing
Catch ex As Exception
Thanks and Regards
Just put a FOR loop and in that u increment ur progress bar and then after a specific period of time u stop the progeress bar and then open ur User form.
Just check the sample below.
Dim oProgressBar As SAPbouiCOM.ProgressBar = Nothing oProgressBar = objSBOAPI.SBO_Appln.StatusBar.CreateProgressBar("Opeing new form...", 17, True) for i as interger = 0 to 60 oProgressBar.Value = i Next 'Open ur form here and do ur functionality. oProgressBar.Stop()
Hope it helps,