Anyone knows how to make a screen shot program in Visual Basics, PHP, etc.
A screen shot program like this Instantly Snap and Share Screenshots.
Basically the screen shot program will have 4 buttons or so.
Full Screen Snap
Fixed Region Snap
Active Window Snap
and
Save Image
-----------------
Here is just a vb tutorial that I found here, it works but is not what I am looking for.

The Code for Button 1(Take a ScreenShot ) is
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
and for the button 2 ( SAVE ) is
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
Tutorial Link: http://forum.codecal...nshot-tool.html
By: mendin
Thank you.


Sign In
Create Account

Back to top










