Friday, 7 October 2011

How To Make A Screen Capture Program In Visual Basic 2008

How To Make A Screen Capture Program In Visual Basic 2008 Tube. Duration : 3.18 Mins.


Visual Basic 2008 - screen capture program. A very simple guide on how to do a screen capture program in VB08. There is a picture of the computer screen. Codes: Button1. Limits as faint image of Dim Rectangle As far as graphics = Graphics = System.Drawing.Bitmap Screen.PrimaryScreen.Bounds Image of New System.Drawing.Bitmap (bounds.Width, bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb) Video = Graphics.FromImage (screenshot) graph.CopyFromScreen (bounds.X,bounds.Y, 0, 0, bounds.Size, CopyPixelOperation.SourceCopy) PictureBox1.Image = screenshot Button2. Dim savefiledialog1 As New SaveFileDialog Try savefiledialog1.Title = "Save File" savefiledialog1.FileName = "*.bmp" savefiledialog1.Filter = "Bitmap |*.bmp" If savefiledialog1.ShowDialog() = DialogResult.OK Then PictureBox1.Image.Save(savefiledialog1.FileName, System.Drawing.Imaging.ImageFormat.Bmp) End If Catch ex As Exception 'Do Nothing End Try

Tags: Visual, Basic, 2008, Screen, Capture, take, picture, of, your, using, vb, vb08, vb2008

No comments: