Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › [Source Code] Text to binary

[Source Code] Text to binary

Posts 1–7 of 7 · Page 1 of 1
Bombsaway707
Bombsaway707
[Source Code] Text to binary
Need: VB 2008

In Your Application Make 2 Textboxes, and 2 buttons

TUT:
Text To Binary And Binary To Text Application. I was bored, so i made a tutorial on a converter that converts text to those 0's and 1's and convert those 0's and 1's to text, and it is not encryption software, a computer runs on 0's and 1's

Text To Binary Or Button1:

Dim Val As String = Nothing
Dim Result As New System.Text.StringBuilder
For Each Character As Byte In System.Text.ASCIIEncoding.ASCII.GetBytes (TextBox1.Text)
Result.Append(Convert.ToString(Character , 2).PadLeft(8, "0"))
Result.Append(" ")
Next
Val = Result.ToString.Substring(0, Result.ToString.Length - 1)
TextBox2.Text = Val

Binary To Text Or Button2:

Dim Val As String = Nothing
Dim Characters As String = System.Text.RegularExpressions.Regex.Rep lace(TextBox1.Text, "[^01]", "")
Dim ByteArray((Characters.Length / 8) - 1) As Byte
For Index As Integer = 0 To ByteArray.Length - 1
ByteArray(Index) = Convert.ToByte(Characters.Substring(Inde x * 8, 8), 2)
Next
Val = System.Text.ASCIIEncoding.ASCII.GetStrin g(ByteArray)
TextBox2.Text = Val
#1 · 16y ago
JI
JIGS4W
I tested it. The code for Button 1 is OK. There are many errors in the source code for Button 2
#2 · 16y ago
Bombsaway707
Bombsaway707
Quote Originally Posted by randomhacker View Post
I tested it. The code for Button 1 is OK. There are many errors in the source code for Button 2
? Pm me i can help u
#3 · 16y ago
TR
trevor206
Quote Originally Posted by bombsaway707 View Post
Need: VB 2008

In Your Application Make 2 Textboxes, and 2 buttons

TUT:
Text To Binary And Binary To Text Application. I was bored, so i made a tutorial on a converter that converts text to those 0's and 1's and convert those 0's and 1's to text, and it is not encryption software, a computer runs on 0's and 1's

Text To Binary Or Button1:

Dim Val As String = Nothing
Dim Result As New System.Text.StringBuilder
For Each Character As Byte In System.Text.ASCIIEncoding.ASCII.GetBytes (TextBox1.Text)
Result.Append(Convert.ToString(Character , 2).PadLeft(8, "0"))
Result.Append(" ")
Next
Val = Result.ToString.Substring(0, Result.ToString.Length - 1)
TextBox2.Text = Val

Binary To Text Or Button2:

Dim Val As String = Nothing
Dim Characters As String = System.Text.RegularExpressions.Regex.Rep lace(TextBox1.Text, "[^01]", "")
Dim ByteArray((Characters.Length / 8) - 1) As Byte
For Index As Integer = 0 To ByteArray.Length - 1
ByteArray(Index) = Convert.ToByte(Characters.Substring(Inde x * 8, 8), 2)
Next
Val = System.Text.ASCIIEncoding.ASCII.GetStrin g(ByteArray)
TextBox2.Text = Val
ok it works no errors but what does button 2 do if it turns the text back to normal it doesn't work for me please help.
#4 · 16y ago
Bombsaway707
Bombsaway707
Quote Originally Posted by trevor206 View Post
ok it works no errors but what does button 2 do if it turns the text back to normal it doesn't work for me please help.
ok so make 2 textboxes and when u get the binary numbers put those into textbox 1 and press button2 and i should translate back to normal words
#5 · 16y ago
JI
JIGS4W
The error I got for Binary to Text or Button 2 is 'Name "Characters" is not declared'.


EDIT: I got it working... No worries
#6 · edited 16y ago · 16y ago
LE
LegendaryAbbo
use [ code] [/ code] or [ php] [ /php] it makes it easier to read
#7 · 16y ago
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

  • [Request] Source Code DLL Injector (Text) - VB 2008 CodesBy deocute in Visual Basic Programming
    1Last post 16y ago
  • HALO 2 (XBOX) Source CodeBy mirelesmichael in General Game Hacking
    12Last post 20y ago
  • [Release] WarHax DLL Source CodeBy OneWhoSighs in WarRock - International Hacks
    20Last post 18y ago
  • keylogger source codeBy obsedianpk in WarRock - International Hacks
    8Last post 18y ago
  • Stamina Hack and source code ?By Teh Sasuke in C++/C Programming
    0Last post 18y ago

Tags for this Thread

#binary#code#source#text