MAKE VISUAL BASIC SCREEN CAPTURE - VB2008! WATCH THIS

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,829
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 1, 2009

-GUI IS PRETTY SIMPLE! just put in a pic box and two buttons at top, one for save and one for capture :)

CAPTURE BUTTON CODE 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

*if u get some errors with that it may be because of the names of the properties :)

SAVE BUTTON CODE:
Dim savefiledialog1 As New SaveFileDialog Try savefiledialog1.Title = "save File" savefiledialog1.FileName = " *.bmp " savefiledialog1.Filter = "Bitmap |*.bmp* " If savefiledialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then PictureBox1.Image.Save(savefiledialog1.FileName, System.Drawing.Imaging.ImageFormat.Bmp) End If Catch ex As Exception End Try

*make sure u add a save file dialog, just drag one in - and leave the default name 'savefiledialog1' should be

8 i didnt really give my stuff special names, like the picture display is just called picturebox1 lol and the Caputure button is labelled as button1 ,
if i was not really tired at the time when i did this is would of given them proper names lol

if u got any problems just paste the errors back to me and with wat they are too and il tell u :)

:)))

Link to this comment:

Share to:
see all

All Comments (43)

Sign In or Sign Up now to post a comment!
  • bad quality

  • where is the record stop button

  • @Sondresoloproject works for me...

  • @ipadboy993 lol... how do uexpect it to work on C#

  • Its the same with ever screen capture video.

    THIS DOES NOT WORK

    THE CODE GIVES ERROR

  • does it work with C# it gave me errors so what do i do

  • lovely quality

  • i love goldfrapp

  • i wanna make a sending screen shots

    how i can do that

  • hey guys im the creator of this video! i deleted my account a while ago, just letting you know that my new channel is lockyfilms3d!!!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more