Closed Thread
Results 1 to 9 of 9

Thread: Screenshot Program

  1. #1
    Tsukuyomi15 is offline Newbie
    Join Date
    Sep 2008
    Posts
    12
    Rep Power
    0

    Screenshot Program

    Hello, I am attempting to create a Screenshot program using Visual Basic .NET 2008. I know how I'm going to do everything else, but I don't know how to make it where whenever the Screenshot is taken the user can save it to their harddrive. Can someone help me, please?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: Screenshot Program

    I found several examples:

    How To Capture and Print the Screen, a Form, or Any Window
    VBnet™ Visual Basic Developers Resource Centre

    These should give you instructions. Even if they are not for Visual Studio 2008 they are for Visual Basic .NET so they will work in VS 2008.

  4. #3
    Tsukuyomi15 is offline Newbie
    Join Date
    Sep 2008
    Posts
    12
    Rep Power
    0

    Re: Screenshot Program

    Thank You!!

  5. #4
    Jordan Guest

    Re: Screenshot Program

    No problem!

  6. #5
    ikkeugh is offline Learning Programmer
    Join Date
    Sep 2007
    Posts
    79
    Rep Power
    0

    Re: Screenshot Program

    Isn't there a simple way to capture a form and put the data in a picurebox in that same form, outside what everyone sees.

  7. #6
    Jordan Guest

    Re: Screenshot Program

    You should be able to load a screen capture from clipboard and insert into a picture box fairly easy.

  8. #7
    ikkeugh is offline Learning Programmer
    Join Date
    Sep 2007
    Posts
    79
    Rep Power
    0

    Re: Screenshot Program

    isn't there another way than putting it into the clipboard ?

  9. #8
    Jordan Guest

    Re: Screenshot Program

    Save it as a temporary file, I suppose. I'm unsure of a better way though. When you fetch a screen capture, where is that data stored? You could feed the imageBox directly.

  10. #9
    travy92's Avatar
    travy92 is offline Learning Programmer
    Join Date
    Sep 2007
    Location
    Australia
    Posts
    76
    Rep Power
    17

    Re: Screenshot Program

    Do what I did.
    Code:
    SendKeys.Send ("{Prtsc}")
    Then retrieve the image from clipboard and make the PictureBox's image the clipboard image.

    Then you can save it anywhere.

    EDIT - Just follow my tutorial HERE.
    There are many bugs with this. Since then I have fixed most of them. I'll update the tutorial when I'm not busy.

    Thanks.
    C:\Users\Travis\Desktop\Image Converter\Knight1.bmp

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Screenshot Program
    By Myvision in forum Visual Basic Programming
    Replies: 7
    Last Post: 04-10-2011, 04:16 AM
  2. Charny Screenshot tool [v1.0]
    By Charny in forum Member Software/Projects
    Replies: 0
    Last Post: 04-05-2010, 08:15 PM
  3. VB 9.0 How to make a Screenshot Tool
    By mendim. in forum Visual Basic Tutorials
    Replies: 23
    Last Post: 06-18-2009, 01:34 PM
  4. Screenshot with C++
    By telboon in forum C and C++
    Replies: 5
    Last Post: 11-18-2008, 11:42 AM
  5. Screenshot?
    By Hektor in forum Linux/Unix General
    Replies: 1
    Last Post: 04-04-2008, 06:02 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts