I have created a Windows service using csharp that takes a screenshot every 30 seconds of the PC monitor and is working quite well on WinXP. Now my problem is that when running on Windows 7 it only takes a screenshot with black screen. When I tried to do debugging, it show 'WinDisc' instead of the typical \\Display on my source. Please help.

1 answers
How are you taking the screen shots in automated way? are using some Win32 apis? Please make your project details more clear to find the solution. It might also be user rights issues if everything else is fine, but thats the last point to imagine
-Bugs!
answered one year ago by:
0
753
if you using any third party libraries please mention which.
0
Hi Thanks for the reply. I'm not using Win32 Apis. I'm just using System.Windows.Forms.Screen, System.Drawings.Graphics and System.Drawings.Bitmaps which is built-in with .NET