VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Easy ScreenShot

by Felipe Zaldivar de la O (2 Submissions)
Category: Graphics
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

When u've Style Xp and u take a screenshot u´ll see that the taskbar ´ll not appear this solves the problem!!!! :::::Take screenshots with only 7 lines ::::: Rate me pls!!!!!

API Declarations
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, _
ByVal dwFlags As Long, ByVal dwExtraInfo As Long)

Rate Easy ScreenShot


'''1 picture box
'''1 commandbutton
Private Sub Command1_Click()
  Dim tempfile As String
  tempfile = App.Path & "\picture.bmp"
  keybd_event vbKeySnapshot, 0, 0, 0
  DoEvents
  SavePicture Clipboard.GetData(vbCFBitmap), tempfile
  Picture1.Picture = LoadPicture(tempfile)
End Sub

Download this snippet    Add to My Saved Code

Easy ScreenShot Comments

No comments have been posted about Easy ScreenShot. Why not be the first to post a comment about Easy ScreenShot.

Post your comment

Subject:
Message:
0/1000 characters