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:

'type mismatch, wanted byte got a string'

Thanks in anticipation.

Regards

Richard

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to