Considering the image you posted, I believe you are using Windows 7, a solution to your problem would be to use the component Windows 7 Progress Bar
, downloadable here, It is distributed with license BSD.
After downloading add the component to Toolbox, you can do this by right clicking on a tab of your preference (Common Controls
for example) and selecting the option Choose Items...
, in the window that opens, in the tab .NET Framework Components
, click on the button Browse...
and select the file Windows7ProgressBar.dll
who is in the Windows7ProgressBar\Control\bin\Release
(this directory is referring to the folders that are inside the compressed file) and then click OK, done you will have the component Windows7ProgressBar
available for use, then just click and drag to your Form
.
The properties and events of the component are the same as the ProgressBar
with a few more things, such as properties: ShowInTaskbar
and State
.
The estate ShowInTaskbar
indicates whether progress should be displayed in the taskbar, and the property State
, progress status (this property changes the progress color to green, red, or yellow)
Inside the compressed file, there is an example using C#
, I will not put it here because by your doubt the problem is related to the display of progress in the taskbar and not in the use of ProgressBar
.
Observing: I considered that you are using Visual Studio.