Zytan,
The templates for a Windows Forms app for VS.NET 2005 puts the following
line into your code by default:
Application.EnableVisualStyles();
This says that you want to use visual styles in your application,
meaning that the .NET wrappers for common controls will use version 6, which
supports styling of the controls depending on theme and whatnot.
If you take this line out, you can set the value for the Style property
and get the smooth progress bar. However, the rest of the app will not have
visual styles set, which will look pretty out of place on Windows XP or
above.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Zytan" <zy**********@gmail.comwrote in message
news:11**********************@w5g2000hsg.googlegro ups.com...
You can, like this:
progressBar1.Style = ProgressBarStyle.Continuous;
But, it doesn't work. I remember trying this before.
The docs say: "The Continuous style is valid only when visual styles
are not enabled."
Zytan