View Single Post
  #1 (permalink)  
Old April 24th, 2006, 11:19 PM
echovue echovue is offline
Friend of Wrox
Join Date: Oct 2004
Location: Clinton, UT, USA.
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default Trap error on Jpeg Image - unsafe array

Hi everyone,

I am loading a folder with a bunch of images I am extracting from a DB. 120 images into the process I get the following error...

Persits.Jpeg.1 error '800a0007'

A safe array of bytes is expected as a parameter.

I am guessing there is a problem with the data for this particular image. Does anyone know how I could test if the data is safe before I try and load the picture. Or if I could use something like 'On Error Resume Next' from VB, that would be just as good.



Reply With Quote