Visual Basic 6.0 HEX Editing Functions - For Hacking ROMs.
View Single Post
April 4th, 2008 (8:44 PM).
Join Date: Jan 2006
Location: Melbourne, Australia
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
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'.
あなた は しきしゃ です
わたし は ばか です
View Public Profile
Send a private message to Darthatron
Visit Darthatron's homepage!
Find all posts by Darthatron
Find threads started by Darthatron