Click here to Skip to main content
15,905,322 members
Home / Discussions / C#
   

C#

 
AnswerRe: process modifying/openning file Pin
Dave Kreskowiak10-May-09 6:04
mveDave Kreskowiak10-May-09 6:04 
Questionconverting the numeric value to text Pin
jaillani khan10-May-09 2:26
jaillani khan10-May-09 2:26 
AnswerRe: converting the numeric value to text Pin
Luc Pattyn10-May-09 2:34
sitebuilderLuc Pattyn10-May-09 2:34 
GeneralRe: converting the numeric value to text Pin
jaillani khan10-May-09 8:22
jaillani khan10-May-09 8:22 
QuestionNew form variables passing Pin
michaelgr110-May-09 1:15
michaelgr110-May-09 1:15 
AnswerRe: New form variables passing Pin
Henry Minute10-May-09 1:26
Henry Minute10-May-09 1:26 
GeneralRe: New form variables passing Pin
michaelgr110-May-09 1:34
michaelgr110-May-09 1:34 
GeneralRe: New form variables passing Pin
Henry Minute10-May-09 1:37
Henry Minute10-May-09 1:37 
GeneralRe: New form variables passing Pin
michaelgr110-May-09 1:47
michaelgr110-May-09 1:47 
GeneralRe: New form variables passing Pin
Colin Angus Mackay10-May-09 3:22
Colin Angus Mackay10-May-09 3:22 
GeneralRe: New form variables passing Pin
michaelgr110-May-09 3:52
michaelgr110-May-09 3:52 
GeneralRe: New form variables passing Pin
N a v a n e e t h10-May-09 4:34
N a v a n e e t h10-May-09 4:34 
GeneralRe: New form variables passing Pin
Henry Minute10-May-09 5:09
Henry Minute10-May-09 5:09 
GeneralRe: New form variables passing Pin
michaelgr110-May-09 6:47
michaelgr110-May-09 6:47 
GeneralRe: New form variables passing Pin
Henry Minute10-May-09 6:58
Henry Minute10-May-09 6:58 
GeneralRe: New form variables passing Pin
michaelgr110-May-09 7:04
michaelgr110-May-09 7:04 
GeneralRe: New form variables passing Pin
Henry Minute10-May-09 7:23
Henry Minute10-May-09 7:23 
Questionhow to update the datas present in textbox to gridview control (gui) ,SQL2005 Pin
Mads11510-May-09 0:42
Mads11510-May-09 0:42 
AnswerRe: how to update the datas present in textbox to gridview control (gui) ,SQL2005 Pin
Noctris10-May-09 12:06
Noctris10-May-09 12:06 
QuestionProblem in Printing a persian(or arabic) document Pin
Roshanakak9-May-09 19:18
Roshanakak9-May-09 19:18 
AnswerRe: Problem in Printing a persian(or arabic) document Pin
Ramin Barati19-May-09 8:50
Ramin Barati19-May-09 8:50 
QuestionPreferred way of bytes to kbytes conversion? Pin
harold aptroot9-May-09 12:22
harold aptroot9-May-09 12:22 
The question is not so much "how to do it" but more "which way is best"
And there are several ways, such as:
* divide by 1024 and keep (a bit of) the fractional part (what is this even good for? just say it in bytes then)
* divide by 1024 and truncate (number of whole KB's)
* divide by 1024 and round (nearest to actual size)
* divide by 1024 and round up (to avoid underestimating the size)

Either there is no standard set for this, or Microsoft ignores it. For example, MSN and Explorer often do not agree on the size of a file, in MSN it would appear to be 1kb smaller. Sounds exactly like a rounding error difference to me.

Which way would you prefer and why?



AnswerRe: Preferred way of bytes to kbytes conversion? Pin
Christian Graus9-May-09 12:28
protectorChristian Graus9-May-09 12:28 
GeneralRe: Preferred way of bytes to kbytes conversion? Pin
harold aptroot9-May-09 12:32
harold aptroot9-May-09 12:32 
GeneralRe: Preferred way of bytes to kbytes conversion? Pin
Christian Graus9-May-09 12:38
protectorChristian Graus9-May-09 12:38 

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.