Click here to Skip to main content
15,899,679 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Filesize Conversion Pin
riced5-May-10 8:34
riced5-May-10 8:34 
GeneralRe: Filesize Conversion Pin
Luc Pattyn5-May-10 8:37
sitebuilderLuc Pattyn5-May-10 8:37 
GeneralRe: Filesize Conversion Pin
riced5-May-10 9:54
riced5-May-10 9:54 
GeneralRe: Filesize Conversion Pin
Luc Pattyn5-May-10 10:33
sitebuilderLuc Pattyn5-May-10 10:33 
GeneralRe: Filesize Conversion Pin
riced5-May-10 10:49
riced5-May-10 10:49 
GeneralRe: Filesize Conversion Pin
Luc Pattyn5-May-10 12:20
sitebuilderLuc Pattyn5-May-10 12:20 
GeneralRe: Filesize Conversion Pin
riced5-May-10 22:09
riced5-May-10 22:09 
GeneralRe: Filesize Conversion Pin
Dayekh5-May-10 12:06
Dayekh5-May-10 12:06 
Thank you all for your input! I certainly was happy that this issue had a lot of interest.

"i would hope that anybody who is working in IT knows the relationships between bits bytes k, m, g, t.....and on and on." -- knowing the relationship between bytes, KB, MB, etc.. was irrelevant as I was asking if there was a class/method that automatically did the conversions in VB.Net. And yes, I know the relationship between them :P

"I think he meant: no need for me to test it, just publish and wait a while." -- Yea I'm sure all programmers are perfect testers of THEIR own code. I did some testing, but it obviously wasn't good enough. I suppose that's what learning is.. no?

"What if file is exactly 1024 or 1048576 bytes?" -- Good point! I was swamped with work that I overlooked that fault. Thank you.

"But there's even worse when you look at it more closely e.g. a file of 1023 bytes returns 1,023.00KB." -- Another good point. I need to address all eventualities more closely!


"I decide to benefit and wrote something that does work." -- Thank you. I will work through that code.

Thanks again all! This made my day.
QuestionWeb Service Problems Pin
RobThompson5-May-10 0:25
RobThompson5-May-10 0:25 
AnswerRe: Web Service Problems Pin
Wayne Gaylard5-May-10 2:21
professionalWayne Gaylard5-May-10 2:21 
AnswerRe: Web Service Problems Pin
Dave Kreskowiak5-May-10 4:16
mveDave Kreskowiak5-May-10 4:16 
QuestionConvert into Char Pin
Anubhava Dimri4-May-10 19:11
Anubhava Dimri4-May-10 19:11 
AnswerRe: Convert into Char Pin
Richard MacCutchan4-May-10 21:39
mveRichard MacCutchan4-May-10 21:39 
GeneralRe: Convert into Char Pin
Anubhava Dimri4-May-10 21:57
Anubhava Dimri4-May-10 21:57 
GeneralRe: Convert into Char Pin
Richard MacCutchan4-May-10 22:09
mveRichard MacCutchan4-May-10 22:09 
GeneralRe: Convert into Char Pin
Anubhava Dimri4-May-10 22:22
Anubhava Dimri4-May-10 22:22 
GeneralRe: Convert into Char Pin
The Man from U.N.C.L.E.4-May-10 22:38
The Man from U.N.C.L.E.4-May-10 22:38 
GeneralRe: Convert into Char Pin
Richard MacCutchan5-May-10 0:44
mveRichard MacCutchan5-May-10 0:44 
GeneralRe: Convert into Char Pin
supercat96-May-10 7:02
supercat96-May-10 7:02 
GeneralRe: Convert into Char Pin
Anubhava Dimri6-May-10 18:34
Anubhava Dimri6-May-10 18:34 
AnswerRe: Convert into Char [modified] Pin
Estys4-May-10 23:22
Estys4-May-10 23:22 
QuestionMessage Removed Pin
4-May-10 13:11
gmhanna4-May-10 13:11 
AnswerRe: SQL Update "Update requires a valid update command" Pin
Johan Hakkesteegt4-May-10 23:43
Johan Hakkesteegt4-May-10 23:43 
QuestionLooping through a repeater Pin
Dayekh4-May-10 6:18
Dayekh4-May-10 6:18 
Question3D app what choosing ? DirectX ? XNA ? SlimDX ? Pin
norrisMiou4-May-10 2:01
norrisMiou4-May-10 2:01 

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.