I am trying to load a jpg file which contains a signature in my JobDone routine. However, the jpg is corrupt and generates an Error Loading Bitmap exception. I'm trying to figure out how to handle this. I thought that a Try/Catch would word, but I still get the error. How do I solve this?
If Job.JobName = "getSig" Then ' signature image If Job.Success Then Try signature = Job.GetBitmap imgSignature.SetBackgroundImage(signature) Catch End Try End If Return End If