Windows Develop Bookmark and Share   
 index > Windows Forms General > Progress Bar hardcore question
 

Progress Bar hardcore question

How to let progress bar load at a full solid bar instead of loading in a block bar manner for C# ????????????????????????
I had try change the style from block to continuous but still it is loading in block. What can i do ????????
  • Moved byPiyush - MSFTMSFTSaturday, September 26, 2009 6:17 AMwinforms question (From:Windows Communication Foundation)
  •  
Heri Tony  Friday, September 25, 2009 2:44 AM
You don't have visual styles enabled. Make sure your Program.cs source code file resembles this:

[STAThread]
static void Main() {
Application.EnableVisualStyles();

Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}


Hans Passant.
nobugz  Sunday, September 27, 2009 4:11 PM
that should work. if you change other property ( form.text) it changes at the runtime?... if now.. click show all files in solution explorer and delete the obj\debug folder .. after this try to run...
Lucifer L.  Saturday, September 26, 2009 7:45 PM
the 'Clean Solution' button?


Natural_D  Sunday, September 27, 2009 3:02 PM
You don't have visual styles enabled. Make sure your Program.cs source code file resembles this:

[STAThread]
static void Main() {
Application.EnableVisualStyles();

Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}


Hans Passant.
nobugz  Sunday, September 27, 2009 4:11 PM

You can use google to search for other answers

Custom Search

More Threads

• I need help - To Automatically display City and State
• How to print certain portion of a form
• Scrollbar class
• Timer and play images at the same time
• DateTimePicker problem
• looping through words in a RichTextBox
• FORM.MDIPARENT=ME
• Make about.cs show without 'new'?
• Find out if the image in picturebox is rotated
• Can I access a ButtonBase property in a derived Button class?