~ Please comment, rate, and subscribe ~ How to take a screenshot in VB 2008 Make Just follow the video, all you need to know is there. Screen Capture codes: 'Capture Me.Opacity code = 0 = True Dim Timer1.Enabled limits as a rectangle Dim Dim System.Drawing.Bitmap screenshot as a graphic within Screen.PrimaryScreen.Bounds = screenshot = New System.Drawing.Bitmap (limits . bounds.Height width, System.Drawing.Imaging.PixelFormat.Format32bppArgb) graph = Graphics.FromImage (screenshot)graph.CopyFromScreen (bounds.X, bounds.Y, 0, 0 bounds.Size, CopyPixelOperation.SourceCopy) Screenshot pictureBox1.Image = 'code = 100 Timer1.Enabled Me.Opacity timer = False' Code Dim Save As New SaveFileDialog savefiledialog1 Test savefiledialog1.Title = "Save" saveFileDialog1.FileName file = "*. savefiledialog1.Filter bmp = "Bitmap | *. bmp" If saveFileDialog1.ShowDialog () = DialogResult.OK Then saveFileDialog1.FileName pictureBox1.Image.Save (, System.Drawing.Imaging.ImageFormat.Bmp) End If Catchex As Exception 'Do Nothing End Try Thanks for watching ~ ~ ~ Please rate and comment, and subscribe ~
0 ความคิดเห็น:
แสดงความคิดเห็น