> Wonder if anyone could tell me why this comes up with the error
> 'type mismatch, wanted byte got a string'
>
> Image path would be something like /tmp/myimage.png
>
> Dim hFile As Stream
>
> hfile = Open ImagePath For Input
>
> While Not Eof(hFile)
> Read #hFile, buffer, Lof(hFile) **
Wonder if anyone could tell me why this comes up with the error
'type mismatch, wanted byte got a string'
Image path would be something like /tmp/myimage.png
Dim hFile As Stream
hfile = Open ImagePath For Input
While Not Eof(hFile)
Read #hFile, buffer, Lof(hFile) **dies here
with:
'typ