James00Gauge (11-11-2009),Laxitive (11-10-2009),llaxman21 (11-10-2009)
Here is a tutorial on how to make a screen capture. This program also allows you to save the picture to your computer.
1. Open up a new project and add 2 buttons,Savefiledialog,and a picturebox
2. Copy and paste
3. Press Thanks
When your done it should look like this. The screenshot will be the full width and height of your desktopCode:Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim bounds As Rectangle Dim screenshot As System.Drawing.Bitmap Dim graph As Graphics bounds = Screen.PrimaryScreen.Bounds screenshot = New System.Drawing.Bitmap(bounds.Width, bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb) graph = Graphics.FromImage(screenshot) graph.CopyFromScreen(bounds.X, bounds.Y, 0, 0, bounds.Size, CopyPixelOperation.SourceCopy) PictureBox1.Image = screenshot End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click 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 End Try End Sub End Class
Here is download for the program
VIrus scan
Last edited by stevethehacker; 11-09-2009 at 05:33 PM.
James00Gauge (11-11-2009),Laxitive (11-10-2009),llaxman21 (11-10-2009)
cool. thx I was looking for 1 because none of the others work
i had one on my os simulator project :P pity how u cant make the preview smaller
[img]https://www.danasof*****m/sig/MPGH373002.jpg[/img]
3 years ago, I was hacking/playing Combat Arms thinking it was the best FPS ever made. Now, I own Black Ops, Modern Warfare 2, Bad Company 2 and Quantum of Solace. Every time I play COD, it all comes down to skill from Combat Arms.
Sure... Thats what i meantOriginally Posted by AVGN
And when I play Combat Arms now, I play better because the other games have taught me to watch for campers
Respect list: https://www.mpgh.net/forum/members/list/
doesnt windows have one built in? "print screen" lolbut thx anyways
with hotkeys you could take multiple in a game and save them all and a lot of older computers don't have that button
most games now when you press printscreen it saves a different file everytime you press it.
and everybody that has a computer has a print screen on the keyboard. that was a while ago that it wasn't mainstream. in fact i have a keyboard from when i used windows 95 that even has it. :P and nobody has that old of a computer anymore that plays games.
but w/e, it helps beginners learn :P