This is correct. For some reason err 481 cannot be handled with a simple "on error resume next" statement. It needs to go to a routine and then returned be back to code. Note: it only causes problem with the complied program, you don't see it when running with the VB interpreter.
- sub
- on error goto myerror
- (loadpicture)
- on error goto 0
- exit sub
- myerror:
- if err.number=481
- 'do nothing
- end if
- resume next