Click here to Skip to main content
15,902,635 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to install my database project Pin
Norman-Timo1-Aug-04 19:50
Norman-Timo1-Aug-04 19:50 
AnswerRe: how to install my database project Pin
sreejith ss nair1-Aug-04 23:28
sreejith ss nair1-Aug-04 23:28 
GeneralCompiler/Interpreter Pin
softp_vc1-Aug-04 18:00
softp_vc1-Aug-04 18:00 
GeneralRe: Compiler/Interpreter Pin
Colin Angus Mackay1-Aug-04 20:24
Colin Angus Mackay1-Aug-04 20:24 
Generalinternal IP of ppc Pin
khchan1-Aug-04 16:50
khchan1-Aug-04 16:50 
GeneralRe: internal IP of ppc Pin
Dave Kreskowiak2-Aug-04 2:59
mveDave Kreskowiak2-Aug-04 2:59 
GeneralProgressBar on long processes Pin
Tim DuBois1-Aug-04 16:43
Tim DuBois1-Aug-04 16:43 
GeneralRe: ProgressBar on long processes Pin
Dave Kreskowiak2-Aug-04 3:10
mveDave Kreskowiak2-Aug-04 3:10 
That would depend on the process your running, and would normally be determined by the process, not the part that launched it.

The process would have to be able to determine the amount of data that must be processed AND track where it is currently. For example, searching through an unknown number of files would not lend itself to a progress bar because you can't determine when the progress is going to end. But searching through a known number of files will. All you have to do is keep track of the number of files you've searched through.

The process would also have to implement a timer where if the process is still running after say, 3 seconds, the timer would set a flag that shows a dialog with the current progress information. This progress tracking would be running regardless if the dialog was showing or not. The timer is only there to flip on the display of the progress, not to start it.

If you're trying to track the progress of a component you didn't right, there is not much you can do to implement the progress bar. Your component must be able to tell you how much processing must be done and how far along it's gotten. It must also be able to fire off events on some condition that lets you know progress is being made. If you component doesn't give you any kind of information like this, your SOL.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralProblems binding a dataset to a combobox Pin
Jefferys1-Aug-04 14:19
Jefferys1-Aug-04 14:19 
GeneralRe: Problems binding a dataset to a combobox Pin
mikker_1231-Aug-04 14:31
mikker_1231-Aug-04 14:31 
GeneralRe: Problems binding a dataset to a combobox Pin
softp_vc1-Aug-04 18:41
softp_vc1-Aug-04 18:41 
GeneralRe: Problems binding a dataset to a combobox Pin
Shailendra Rao1-Aug-04 18:49
Shailendra Rao1-Aug-04 18:49 
GeneralRe: Problems binding a dataset to a combobox Pin
Jefferys2-Aug-04 5:24
Jefferys2-Aug-04 5:24 
GeneralToolTip Control in pocket pc. Pin
memsharp1-Aug-04 5:28
memsharp1-Aug-04 5:28 
GeneralRe: ToolTip Control in pocket pc. Pin
Colin Angus Mackay1-Aug-04 11:09
Colin Angus Mackay1-Aug-04 11:09 
GeneralRe: ToolTip Control in pocket pc. Pin
leppie1-Aug-04 11:34
leppie1-Aug-04 11:34 
GeneralRe: ToolTip Control in pocket pc. Pin
Colin Angus Mackay1-Aug-04 11:53
Colin Angus Mackay1-Aug-04 11:53 
GeneralRe: ToolTip Control in pocket pc. Pin
leppie1-Aug-04 12:09
leppie1-Aug-04 12:09 
GeneralRe: ToolTip Control in pocket pc. Pin
Colin Angus Mackay1-Aug-04 13:52
Colin Angus Mackay1-Aug-04 13:52 
GeneralRe: ToolTip Control in pocket pc. Pin
Roman Rodov1-Aug-04 14:17
Roman Rodov1-Aug-04 14:17 
GeneralRe: ToolTip Control in pocket pc. Pin
Colin Angus Mackay1-Aug-04 22:20
Colin Angus Mackay1-Aug-04 22:20 
GeneralMS Query in Excel 2000 From C# Pin
Heroz1-Aug-04 5:07
Heroz1-Aug-04 5:07 
QuestionHow useful is are Windows.Forms? Pin
Anonymous1-Aug-04 3:42
Anonymous1-Aug-04 3:42 
AnswerRe: How useful is are Windows.Forms? Pin
Dave Kreskowiak1-Aug-04 4:23
mveDave Kreskowiak1-Aug-04 4:23 
AnswerRe: How useful is are Windows.Forms? Pin
Daniel Turini1-Aug-04 5:58
Daniel Turini1-Aug-04 5:58 

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.