Hi all,in my WinForm, with an UltraGrid, I have a long time consuming method (that starts some SSIS package in the database). Is it possible to using an UltraProgressBar in the WinForm that starts at the user button click, and stops at the end of the method itself?
Thanks in advance.
Typically what you do is execute your time-consuming method on a different thread (you could use the BackgroundWorker component to do this), and then update the value of the UltraProgressBar by setting its Value property using the BeginInvoke method. Note that you must not set the Value property directly from the other thread as you would then be attempting an illegal cross-thread operation, which eventually will cause an exception to be thrown.
Hi Brian,
Can you give me a code example of how to use the UltraProgressBar ?
I have a time-consuming fetch ... and databinding to multiple controls on a WinForm, and I wantthe UltraProgressBar to run while the data is being loaded ... on a seperate thread ?I need example of this IN CODE Thanx in advance,EE