String Format
-
Can anyone tell me why this is not working, just displays 0.00% this.label2.Text=String.Format("{0:p}",fs.Position/Convert.ToInt64(this.progressbar1.Maximum)*100); this.progressbar1.Maximum Contains 152333120 fs.Position is the current byte position in the file.
-
Can anyone tell me why this is not working, just displays 0.00% this.label2.Text=String.Format("{0:p}",fs.Position/Convert.ToInt64(this.progressbar1.Maximum)*100); this.progressbar1.Maximum Contains 152333120 fs.Position is the current byte position in the file.
Try the programming forums. - Anders My Photos
WDevs - The worlds first DSP, free blog space, email and more
-
Can anyone tell me why this is not working, just displays 0.00% this.label2.Text=String.Format("{0:p}",fs.Position/Convert.ToInt64(this.progressbar1.Maximum)*100); this.progressbar1.Maximum Contains 152333120 fs.Position is the current byte position in the file.
Note Programing questions are not allowed in the longe, but try
(fs.Position * 100)/Convert.ToInt64(this.progressbar1.Maximum _"An expert is a person who has made all the mistakes that can be made in a very narrow field."_ - Neils Bohr
-
Can anyone tell me why this is not working, just displays 0.00% this.label2.Text=String.Format("{0:p}",fs.Position/Convert.ToInt64(this.progressbar1.Maximum)*100); this.progressbar1.Maximum Contains 152333120 fs.Position is the current byte position in the file.
-
You mean you missed the sign at the top of the lounge that reads: Got a programming question? Try the forums [Drop Down List of Programming Forums]
Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
-
You mean you missed the sign at the top of the lounge that reads: Got a programming question? Try the forums [Drop Down List of Programming Forums]
Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
Colin Angus Mackay wrote: You mean you missed the sign at the top of the lounge that reads: Got a programming question? Try the forums [Drop Down List of Programming Forums] it's too small, maybe a larger font size? :rolleyes: _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
Colin Angus Mackay wrote: You mean you missed the sign at the top of the lounge that reads: Got a programming question? Try the forums [Drop Down List of Programming Forums] it's too small, maybe a larger font size? :rolleyes: _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
Jeffry J. Brickley wrote: it's too small, maybe a larger font size? AND the sign on the new thread page, where you type the message, that says in bold red letters "Please do NOT post programming questions to this forum."
Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
-
Jeffry J. Brickley wrote: it's too small, maybe a larger font size? AND the sign on the new thread page, where you type the message, that says in bold red letters "Please do NOT post programming questions to this forum."
Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
No wonder why he cannot get his code to work correctly. He probably misses a lot when reading the documentation. :zzz: -------- "I say no to drugs, but they don't listen." - Marilyn Manson
-
Jeffry J. Brickley wrote: it's too small, maybe a larger font size? AND the sign on the new thread page, where you type the message, that says in bold red letters "Please do NOT post programming questions to this forum."
Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
Colin Angus Mackay wrote: AND the sign on the new thread page, where you type the message, that says in bold red letters "Please do NOT post programming questions to this forum." not red enough... perhaps a nice dripping blood knife slashed font in red? :D you do know I am being facetious right? :~ I saw the signs, both, from day one (which was not that long ago for me). _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
Colin Angus Mackay wrote: AND the sign on the new thread page, where you type the message, that says in bold red letters "Please do NOT post programming questions to this forum." not red enough... perhaps a nice dripping blood knife slashed font in red? :D you do know I am being facetious right? :~ I saw the signs, both, from day one (which was not that long ago for me). _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
Jeffry J. Brickley wrote: you do know I am being facetious right? <schultz>I know nothing.</schultz>
Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
-
Jeffry J. Brickley wrote: you do know I am being facetious right? <schultz>I know nothing.</schultz>
Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
Colin Angus Mackay wrote: I know nothing. but obviosly more than a few.... _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
No wonder why he cannot get his code to work correctly. He probably misses a lot when reading the documentation. :zzz: -------- "I say no to drugs, but they don't listen." - Marilyn Manson
Read the documentation? That is the last resort:-O
"An expert is a person who has made all the mistakes that can be made in a very narrow field." - Neils Bohr
-
Read the documentation? That is the last resort:-O
"An expert is a person who has made all the mistakes that can be made in a very narrow field." - Neils Bohr
documentation? Isn't that something you need to cross the border?
I Do Whatever My Rice Krispies Tell Me To. Toasty0.com
-
Jeffry J. Brickley wrote: you do know I am being facetious right? <schultz>I know nothing.</schultz>
Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
Colin Angus Mackay wrote: I know nothing. understatement or a core truth. You be the judge, ladies and gentlemen. *hehehe*
I Do Whatever My Rice Krispies Tell Me To. Toasty0.com
-
Colin Angus Mackay wrote: You mean you missed the sign at the top of the lounge that reads: Got a programming question? Try the forums [Drop Down List of Programming Forums] it's too small, maybe a larger font size? :rolleyes: _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
Nah, just a bigger club to beat him over the head with.
Software Zen:
delete this;