EDN Admin
Well-known member
Hello I made a program that take screenshots but it doesnt take screenshot from 3d games what is the code and here is my code
Dim bounds As Rectangle<br/>
Dim screenshot As System.Drawing.Bitmap<br/>
Dim graph As Graphics<br/>
bounds = Screen.PrimaryScreen.WorkingArea<br/>
screenshot = New System.Drawing.Bitmap(bounds.Width, bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb)<br/>
graph = Graphics.FromImage(screenshot)<br/>
graph.CopyFromScreen(bounds.X,bounds.Y, 0, 0, bounds.Size, CopyPixelOperation.SourceCopy)<br/>
PictureBox1.Image = screenshot
my program is bigger than this too much but these are the important codes
View the full article
Dim bounds As Rectangle<br/>
Dim screenshot As System.Drawing.Bitmap<br/>
Dim graph As Graphics<br/>
bounds = Screen.PrimaryScreen.WorkingArea<br/>
screenshot = New System.Drawing.Bitmap(bounds.Width, bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb)<br/>
graph = Graphics.FromImage(screenshot)<br/>
graph.CopyFromScreen(bounds.X,bounds.Y, 0, 0, bounds.Size, CopyPixelOperation.SourceCopy)<br/>
PictureBox1.Image = screenshot
my program is bigger than this too much but these are the important codes
View the full article