Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
QuestionRe: capture screen with mouse Pin
Jun Du29-Oct-06 5:12
Jun Du29-Oct-06 5:12 
AnswerRe: capture screen with mouse Pin
pbp_28630-Oct-06 3:57
pbp_28630-Oct-06 3:57 
QuestionHow to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
digitalhand28-Oct-06 19:06
digitalhand28-Oct-06 19:06 
AnswerRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
Larantz28-Oct-06 19:38
Larantz28-Oct-06 19:38 
GeneralRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
digitalhand29-Oct-06 1:54
digitalhand29-Oct-06 1:54 
GeneralRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
Larantz29-Oct-06 11:59
Larantz29-Oct-06 11:59 
GeneralRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
digitalhand29-Oct-06 20:01
digitalhand29-Oct-06 20:01 
AnswerRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
Pete O'Hanlon30-Oct-06 1:46
mvePete O'Hanlon30-Oct-06 1:46 
Microsoft used to do this with an algorithm that tended to infinity. In other words, during a search, the algorithm would almost - but not quite - reach 100% during the retrieve phase. Once the data was fully selected, the code would update the progress to 100%. Sometimes this meant that the progress would stay at 99% for a long time, other times it would reach 50% and then race through to 100%.

Note that if you want to do this, your other process must run on a different thread to the UI so that you can update the progress bar. There are lots of articles here on CP that tell you how to do this.

Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."

Deja View - the feeling that you've seen this post before.

GeneralRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
digitalhand2-Nov-06 4:31
digitalhand2-Nov-06 4:31 
GeneralRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
Pete O'Hanlon2-Nov-06 9:55
mvePete O'Hanlon2-Nov-06 9:55 
AnswerRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
jahirhstu10-Jul-09 22:19
jahirhstu10-Jul-09 22:19 
QuestionHidden process Pin
chowj28-Oct-06 17:53
chowj28-Oct-06 17:53 
AnswerRe: Hidden process Pin
Jun Du29-Oct-06 5:09
Jun Du29-Oct-06 5:09 
GeneralRe: Hidden process Pin
chowj29-Oct-06 12:43
chowj29-Oct-06 12:43 
GeneralRe: Hidden process Pin
Jun Du30-Oct-06 2:24
Jun Du30-Oct-06 2:24 
QuestionImplementing a COM defined interface in C# Pin
malayalite28-Oct-06 17:46
malayalite28-Oct-06 17:46 
AnswerRe: Implementing a COM defined interface in C# Pin
Pete O'Hanlon30-Oct-06 4:06
mvePete O'Hanlon30-Oct-06 4:06 
GeneralRe: Implementing a COM defined interface in C# Pin
malayalite7-Nov-06 9:02
malayalite7-Nov-06 9:02 
GeneralRe: Implementing a COM defined interface in C# Pin
Pete O'Hanlon7-Nov-06 9:27
mvePete O'Hanlon7-Nov-06 9:27 
GeneralRe: Implementing a COM defined interface in C# Pin
malayalite7-Nov-06 9:56
malayalite7-Nov-06 9:56 
GeneralRe: Implementing a COM defined interface in C# Pin
malayalite7-Nov-06 9:59
malayalite7-Nov-06 9:59 
QuestionGetCaretPos help needed (get keyboard possition) Pin
ranzask28-Oct-06 14:30
ranzask28-Oct-06 14:30 
AnswerRe: GetCaretPos help needed (get keyboard possition) Pin
lainoo28-Oct-06 17:49
lainoo28-Oct-06 17:49 
GeneralRe: GetCaretPos help needed (get keyboard possition) Pin
ranzask29-Oct-06 10:40
ranzask29-Oct-06 10:40 
QuestionGetting the last record autonumber value Pin
TheCardinal28-Oct-06 13:22
TheCardinal28-Oct-06 13:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.