Click here to Skip to main content
15,892,809 members
Home / Discussions / C#
   

C#

 
AnswerRe: Scanning through directories and subdirectories Pin
kubben4-Mar-07 2:00
kubben4-Mar-07 2:00 
GeneralRe: Scanning through directories and subdirectories Pin
Polezniy4-Mar-07 9:50
Polezniy4-Mar-07 9:50 
GeneralRe: Scanning through directories and subdirectories Pin
Wayne Phipps4-Mar-07 10:26
Wayne Phipps4-Mar-07 10:26 
GeneralRe: Scanning through directories and subdirectories Pin
kubben4-Mar-07 11:11
kubben4-Mar-07 11:11 
GeneralRe: Scanning through directories and subdirectories Pin
Polezniy5-Mar-07 5:24
Polezniy5-Mar-07 5:24 
GeneralRe: Scanning through directories and subdirectories Pin
kubben5-Mar-07 5:29
kubben5-Mar-07 5:29 
AnswerRe: Scanning through directories and subdirectories Pin
Colin Angus Mackay4-Mar-07 4:20
Colin Angus Mackay4-Mar-07 4:20 
QuestionC# Denies simple math? :\ Pin
sharpiesharpie3-Mar-07 23:22
sharpiesharpie3-Mar-07 23:22 
I've added a progress bar to my app and i'm trying to update it but the result is only 0 and then 100.

int t = int.Parse(textBox1.Text);<br />
double s = ((p/t)*100);<br />
progressBar1.Value = (int)s;<br />


t (textBox1) is how many times to do the operation.
p is the counter for how many times it has been done.

ive followed the program with breakpoints and s is always 0.0, even when p is 10 and t is 100 ((10/100)*100) = 10.

wtf? :\
AnswerRe: C# Denies simple math? :\ Pin
Christian Graus3-Mar-07 23:31
protectorChristian Graus3-Mar-07 23:31 
AnswerRe: C# Denies simple math? :\ Pin
Guffa4-Mar-07 1:44
Guffa4-Mar-07 1:44 
GeneralRe: C# Denies simple math? :\ Pin
Christian Graus4-Mar-07 2:14
protectorChristian Graus4-Mar-07 2:14 
AnswerRe: C# Denies simple math? :\ Pin
Guffa4-Mar-07 3:19
Guffa4-Mar-07 3:19 
Questionhow to access a c code with c# Pin
mfmaneef3-Mar-07 23:05
mfmaneef3-Mar-07 23:05 
AnswerRe: how to access a c code with c# Pin
Vasudevan Deepak Kumar4-Mar-07 5:23
Vasudevan Deepak Kumar4-Mar-07 5:23 
GeneralRe: how to access a c code with c# Pin
mfmaneef6-Mar-07 21:05
mfmaneef6-Mar-07 21:05 
QuestionPassword Form Pin
krajah103-Mar-07 20:51
krajah103-Mar-07 20:51 
AnswerRe: Password Form Pin
Christian Graus3-Mar-07 23:33
protectorChristian Graus3-Mar-07 23:33 
QuestionTapi Pin
matata_mn3-Mar-07 19:36
matata_mn3-Mar-07 19:36 
AnswerRe: Tapi Pin
Vasudevan Deepak Kumar4-Mar-07 5:05
Vasudevan Deepak Kumar4-Mar-07 5:05 
QuestionHow to add a separator in menu? Pin
Neal Conrardy3-Mar-07 18:35
Neal Conrardy3-Mar-07 18:35 
AnswerRe: How to add a separator in menu? Pin
Dawid Mazuruk3-Mar-07 22:14
Dawid Mazuruk3-Mar-07 22:14 
GeneralRe: How to add a separator in menu? Pin
Neal Conrardy4-Mar-07 5:41
Neal Conrardy4-Mar-07 5:41 
QuestionRe: How to add a separator in menu? Pin
Neal Conrardy4-Mar-07 14:56
Neal Conrardy4-Mar-07 14:56 
QuestionHow to Pass More than One Value from Parent to Child? Pin
Khoramdin3-Mar-07 18:17
Khoramdin3-Mar-07 18:17 
AnswerRe: How to Pass More than One Value from Parent to Child? Pin
Tamimi - Code3-Mar-07 19:39
Tamimi - Code3-Mar-07 19:39 

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.