![]() |
Numbering Systems
Hi, today i have a question that is a bit far from cracking but it fits the reverse eingeneering and programming tasks:
I'm coding in visual basic a tool for a friend that converts strings betwen bases. I am stuck into 3 conversions: Octal to String String to Base60 Base60 to String Is there a way to convert octal to string? (or octal to hexadecimal so then use hexadecimal to string?) Does someone have sample sources in visual basic? I searched through planet source code but it does not have something like that or has something that overflows. As for base60: I know that base64 has A->Z, a->z, 0->9, +/ What get's off in base60? +/ and...what? Anyone can help me? Thanks in advance to all. |
Hello:
Here you can find a function converting from some bases to string. hxxp://www.recursosvisualbasic.com.ar/htm/trucos-codigofuente-visual-basic/36.htm To convert from octal to string there is the function Oct: hxxp://msdn2.microsoft.com/en-us/library/3yyk62cc.aspx Some conversion examples: hxxp://support.microsoft.com/default.aspx?scid=kb%3Ben%3B31789 Hope this helps :cool: Nacho_dj |
| All times are GMT +8. The time now is 19:38. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX