I am trying to trap errors in the imagecontrol used in container in a form on my picture viewing application caused by certain image files which give a C000005 error - I guess it is unreasonable to expect the following code preventing that problem
Any ideas of how to trap a C000005 error?
As an aside the image shows OK in Irfanview when x2 clicked.
Regards
william
Code:
lTableError = .f.
thisform.container1.imgcontrol1.Picture = (mypicture)
IF lTableError = .t.
DO errmsg
ENDIF
Any ideas of how to trap a C000005 error?
As an aside the image shows OK in Irfanview when x2 clicked.
Regards
william