In order to use teh instr function over a large binary file, I convert it to text using:
It's incredibly slow, even for 1Mb files which I don't consider large.
Is there a faster way please?!
thanks
Applications Support
UK
Code:
' Convert Binary to ASCII
Function BinaryToString(Binary)
dim S
For I = 1 To LenB(Binary)
S = S & Chr(AscB(MidB(Binary, I, 1)))
Next
BinaryToString = S
end function
It's incredibly slow, even for 1Mb files which I don't consider large.
Is there a faster way please?!
thanks
Applications Support
UK