how to print screen and save it as .jpg file?
Printable View
how to print screen and save it as .jpg file?
I created a shorter and possibly more efficient version in case you were having troubles:
vb.net Code:
Public Shared Function ScreenGrab() As Bitmap Dim ScreenBitmap As New Bitmap(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height) Graphics.FromImage(ScreenBitmap).CopyFromScreen(Point.Empty, Point.Empty, ScreenBitmap.Size) Return ScreenBitmap End Function