VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Print Screen (take a picture of the screen)

by Brent w. (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (38 Votes)

Take a picture of the screen

Assumes
Found off the web
API Declarations
Declare Sub keybd_event Lib "user32" _
(ByVal bVk As Byte, ByVal bScan As Byte, _
ByVal Flags As Long, ByVal ExtraInfo As Long)

Rate Print Screen (take a picture of the screen)

Sub ScreenToClipboard()
Const VK_SNAPSHOT = &H2C
Call keybd_event(VK_SNAPSHOT, 1, 0&, 0&)
End Sub

Download this snippet    Add to My Saved Code

Print Screen (take a picture of the screen) Comments

No comments have been posted about Print Screen (take a picture of the screen). Why not be the first to post a comment about Print Screen (take a picture of the screen).

Post your comment

Subject:
Message:
0/1000 characters