Your code was really useful Agha Ali Raza. (Y) I'm creating a application for my last year project where remote screen capture is my dominating module. With the above code, the image is not re-sized in the picture box. I want the complete image to be shown in the picture box.Currently only the part of the image that fits in the picture box is shown, the rest is cropped. If you could help me with this it would be great :) Thankx :D
ReplyI want Capture a Window ex: Internet Explorer or any software. Can you help me! Thank you!
ReplyBitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width,Screen.PrimaryScreen.Bounds.Height); Graphics g = Graphics.FromImage(bitmap); g.CopyFromScreen(Point.Empty, Point.Empty, new Size(bitmap.Width, bitmap.Height)); and you are done... g has the image of the primary monitor. If you want screen from another monitor just change the coordinates :)
ReplyHow can i use this application for sharing my desktop with other remote users?
Replyas u used win api for screen capture?what abt linux? another thing is that how i can capture remote screen?
ReplyHi All, The screen capture code provided on this web site works fine for stand-alone applications. But if you try to run it from the service, it will show a black square instead of the screen. Sometimes changing display mode solves the problem. Does anybody know how to fix that? Best regards MK
ReplyOriginally posted by: V.srinivasan
Is there a way we can simulate windows action? Can I enter spcefic values into the screen, simulate mouse actions and read contents of the screen using these dlls?
please let me know
thanks
-Srini
Originally posted by: Charles Laymon
Could I use this code as a base to get a handle to a specific window (not the desktop but an image of a website that is in a ie window minimized on the desktop) and get an image of it? If so, what do you think the changes might be?
ReplyOriginally posted by: Rasha
Is it possible to send the captured image over a LAN using socket programming?? please we need to know this piece of information urgently...& if the answer is yes could u tell us how ?
& thank u in advance...:)
Use TcpClient and Tcp Server Classes in the System.Net/System.Net.Socket nbamspaces to comminicate on network serialize this image using binary formatter get the strem nd the send it on the net work vi TcpClient.Send()........... Need further help or code semple emil me at riz_ahmad@msn.com. ll these suggestion given by me keeping in mind that u know C# in general. Regards RizwanReply
Originally posted by: lokesh gupta
same video capture of a dekstop in a network make a network manager very much efficent.
so is it possible to add such type of facility in a network monitor in java if yes how send me your advice
It is possible in java using the Robot class. It is present in java.awt.Robot namespace
Reply