Using GetDC and BitBlt in asp.net

G

Guest

I would tell you that I need to do this to be able to capture the Client
Desktop when an error is occured ,i did what came with link and do
private void Button1_Click(object sender, System.EventArgs e)
{

System.Drawing.Bitmap oBitmap = CaptureScreen.CaptureScreen.GetDesktopImage();
oBitmap.Save("C:\\test.jpg",System.Drawing.Imaging.ImageFormat.Jpeg);
}
the image is black,why?
other question is this possbile to get the client Desktop screeen using the
provide method
 
K

Karl Seguin

GetDC will take a screenshot of the server...since ASP.Net is running on the
Server. I can't think of any methods to get a client-side screenshot short
of using some java applet or active x...

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top