|
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.
[vb]
dim j() as byte
open "filaname" for binary as #1
redim j(lof(1)) as byte
get #1,,j
close #1
[vb]
Now you have the entire file in "j" array. You may use and modify as you want.
|
__________________
Hasin Hayder
http://www.vbsthopoti.cjb.net
Lead Programmer - EvelinDev
Things that are tough takes time - Things that are impossible takes a little more.
|