Quote:
Originally Posted by ZodiacDaGreat
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
|
Code:
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'.
__________________
あなた は しきしゃ です
わたし は ばか です