I want to be able to open up binary files and dump it's contents into a Ritch Text Box. I made a program to do this, but it doesn't display the ASCII character (0).
I'm using a RitchTextBox; multiline = true.
VB Code:
Open App.Path & "\scripts\" & fileScript.FileName For Binary As #3
Do Until EOF(3)
Line Input #3, cmd
txtMessage.Text = txtMessage.Text & cmd
Loop
Close #3
It just skipps the ASCII Values of (0). I made sure that the text box can even display the ascii value (0) by using
and it displayed it fine. So that means their is something wrong when inputting from the file. What am I doing wrong?