I have a propriatary database that contains images. I have a third party OCX that will extract the image and display it on a form. The OCX however contains no functionality for exporting the image to a file.

I want to capture the image being displayed so I can export it myself using other means. The problem is that the application will be running on a server that will be locked. In other words the image being displayed will be covered by the administrators lock screen on the server.

So the question is... How can I capture the image on a form that isn't currently being displayed? I've tried bitblt which works just fine up until the screen is locked and then I just get the section of the lock screen covering the underlying image. Anyway, need some assistance from a guru. Thanks.