How to display progress bar in windows form during execution of DTS package?

  • Thread starter Thread starter owais
  • Start date Start date
O

owais

H

I want to display progress bar during execution of windows form. When I execute DTS package the form will idle till the DTS package finishes

Please help me in this regard. its an urgen

Thank
sohail
 
If you are using VS.NET, a progress bar is available from the Forms toolbox.

Three properties that make it work are :

Minimum
Maximum
Value

Set Min and MAx at the beginning, set value at each 'milestone'. Give
windows a chance to redraw the control (doEvents or whatever the exact method
is).

If you don't have VS.NET, the control is :

System.Windows.Forms.ProgressBar
 
Back
Top