i'd say that where u've dimensioned the array, it's something like...
VB Code:
Dim bytBuffer(1 To 10) 'Or the like ''change the above Dim to... Dim bytBuffer() ''and then call the function BooleanValue = ReadFileAsBinary("waka waka", 12345, bytBuffer())




Reply With Quote