+ Reply to Thread
Results 1 to 5 of 5

how to capture screen (print screen) in VB

  1. #1
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    how to capture screen (print screen) in VB

    How would I capture screen (print screen) in VB, so the result would be the same as pressing the Print Screen button.
    Last edited by luv2glyd; 07-19-2010 at 01:59 PM.
    You either quit or become really good at it. There are no other choices.

  2. #2
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: how to capture screen (print screen) in VB

    Hi

    Maybe?

    Please Login or Register  to view this content.
    But sometimes send keys dont work so well.

    Thank You, Mike
    Last edited by shg; 07-19-2010 at 02:11 PM. Reason: deleted quote

  3. #3
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    Re: how to capture screen (print screen) in VB

    Worked this time hehehe! Thank you

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: how to capture screen (print screen) in VB

    Here'ssomecodeI found somewhere,longer but more reliable than SendKeys
    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    Re: how to capture screen (print screen) in VB

    Wow! That is a mouthfull!

    Prinkeys works for me for now, and it's the shortest code, so I'll use it for what I need to do for now.............. but if it starts not to and for future reff and seraches, here's a bit trimmed down version of the above that also works:

    Please Login or Register  to view this content.
    Last edited by luv2glyd; 07-19-2010 at 02:40 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1