on 10-31-2007 2:30 AM
hi all,
I code SBO_Application.StatusBar.CreateProgressBar("test",100,false);
but when I run it ,the program die.
how to use this,if it need some code to end the CreateProgressBar?
thanks!
Dim oProgBar As SAPbouiCOM.ProgressBar ' progress bar
Dim ProgBarVal As Integer = 0
ProgBarVal = RS.RecordCount
oProgBar = B1Connections.theAppl.StatusBar.CreateProgressBar("Creating Commission Table ", ProgBarVal, True)
oProgBar.Value = 0
set your loop
ProgBarVal = oProgBar.Value
oProgBar.Value = ProgBarVal + 1
increment your loop
oProgBar.Stop()
System.Runtime.InteropServices.Marshal.ReleaseComObject(oProgBar)
oProgBar = Nothing
GC.Collect()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can someone give a sample?thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.