Hi peabody,
I've tried running your code, but I'm missing C:\Documents and Settings\Smile\My Documents\My Pictures\crosshatch.jpg file. Also, is it possible for you to simpify your code to illustrate the issue better?
Regards,
Stanley Hu
National Instruments
Applications Engineering
http://www.ni.com/support