Visual Basic 6.0 HEX Editing Functions - For Hacking ROMs.
View Single Post
April 4th, 2008 (8:44 PM).
Quote originally posted by
Worked again!, now how about a code that checks whether theres a value in the textbox, in my case txtR. So there wont be any mis-compilation of bytes into the ROM
Thanks again, Darthatron
View original post
If Len(txtR.Text) > 0 Then WriteHex ROMLocation, CLng("&H" & txtR.Text), Data End If
The Len() Function checks the length of a String. It is used mostly for checking if you have any data held in a Variant. :D
The code "If Len(txtR.Text) > 0 Then" checks if the Length of the Data in the String is above 0. 'If' it is then it will do the code before 'End If'.
あなた は しきしゃ です
わたし は ばか です
Joined Jan 2006
View Public Profile
Send a private message to Darthatron
Visit Darthatron's homepage!
Find all posts by Darthatron
Find threads started by Darthatron
Ignore Posts by Darthatron