Above codes are for TextFile or Text Stream. If you use a binary file then this code send you a message that interrupted by null terminating character. So please open all files as binary. You may do this with all type of file.
dim j() as byte
open "filaname" for binary as #1
redim j(lof(1)) as byte
Now you have the entire file in "j" array. You may use and modify as you want.
Lead Programmer - EvelinDev
Things that are tough takes time - Things that are impossible takes a little more.