I have a form that has to be run hidden only - there is a save operation that is done for every n seconds and the user cannot see any flicker or wait cursor during this time.

For every n secs, it captures the current window as image and saves it to disk via a Bitmap CopyFromScreen() logic. However, a waitcursor appears everytime the save is done to the disk which can be upto 5 times an hour.

so, bmp.save(filename,Imageformat.jpeg) produces a waitcursor. I understand it happens due to the I\O op done here. But I dont want the user to see a process going on in the background - the form where this happens is hidden and is not visible in the taskbar at all, yet the waitcursor appears - coz its a system disk operation.

How to prevent the waitcursor not being shown or is there any way the image can be saved without the user interrupted by the waitcursor every now and then?

Any help appreciated. Thanks.