Prev: Linux
Next: The BIG Picture (VB vs the OS)
From: Dee Earley on 5 Feb 2010 05:22 > ' 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 |