sharratt2003
02-04-2005, 12:38 PM
I have a VB.NET form and have coded it to grab a screenshot in the following way:
1. Create Device for Currunt Form which has Focus
2. Create Surface from CreateOffscreenPlainSurface
3. Get Device Front Buffer
4. Save the surface to file
Any ideas on how i can get it to work without having to have focus off the current form and take the screenshot regardless of what application i am in would be appreciated!!!
Its driving me insane!
Thanks in advance :D
1. Create Device for Currunt Form which has Focus
2. Create Surface from CreateOffscreenPlainSurface
3. Get Device Front Buffer
4. Save the surface to file
Any ideas on how i can get it to work without having to have focus off the current form and take the screenshot regardless of what application i am in would be appreciated!!!
Its driving me insane!
Thanks in advance :D