From: Dee Earley on
> ' With the JPG read into the strJpgBinary string variable
> '
> dim strSearch as string
> dim strWidthHeight as string
>
> strSearch = chr(&HFC)& chr(&HC0)& chr(&H00)& chr(&H11)& chr(&H08)
> strWidthHeight = instr(strJpgBinary, mid(strjpgBinary, strSearch)+4,4)

You can't reliably store or use binary data in a string variable.
It will be subject to codepage conversion on "foreign" systems.

--
Dee Earley (dee.earley(a)icode.co.uk)
i-Catcher Development Team

iCode Systems
First  |  Prev  | 
Pages: 1 2 3 4 5
Prev: Linux
Next: The BIG Picture (VB vs the OS)