Hi. I made this program to capture the current screen in C#. In Visual Studio 2008, it worked perfectly, but now with VS 2010, I get the following exception: ExternalException - a generic error occured in GDI+ on the line where I save the bitmap:
bmp.Save("screen.jpg");
I have looked everywhere on the Net, but it's always suggested that the problem is in the code. Well it isn't, the code works fine in VS 2008.