Hey everyone, I just started learning Visual Basic so please don't over-confuse me lol
I just need a little help, I have been searching google for hours trying to find out how to convert between bases. I have coded a calculator, where you type in numbers (in the format of decimal, hex or binary, choses by radio buttons). You then click convert and it converts what you typed in into the format you desire (specified by more radio button).
My question is, how would I go about doing this, I have found very lengthy code, that is highly confusing, has arrays, about 10 variables and stuff...but it is just too mind boggling for me.
Is there an easy way of doing this, like specifying the textbox to get the input from, and tell it that it's in base 10 say, then have it convert to either binary or hex (user specified)?
I also want to convert any of those 3 in ASCII format and output it to the user...how would that be done?
Thanks for any help given, and please, try an explain any code or suggestions as nooby as possible :-D
I just need a little help, I have been searching google for hours trying to find out how to convert between bases. I have coded a calculator, where you type in numbers (in the format of decimal, hex or binary, choses by radio buttons). You then click convert and it converts what you typed in into the format you desire (specified by more radio button).
My question is, how would I go about doing this, I have found very lengthy code, that is highly confusing, has arrays, about 10 variables and stuff...but it is just too mind boggling for me.
Is there an easy way of doing this, like specifying the textbox to get the input from, and tell it that it's in base 10 say, then have it convert to either binary or hex (user specified)?
I also want to convert any of those 3 in ASCII format and output it to the user...how would that be done?
Thanks for any help given, and please, try an explain any code or suggestions as nooby as possible :-D