Results 1 to 2 of 2

Thread: How do I print screen from a VB6 application?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    31
    Hi

    Any help would be greatly appreciated.

    Thanks.

  2. #2
    Guest
    You mean, take a picture of the screen?

    Code:
    Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, _
      ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
    
        'To get the Entire Screen
        Call keybd_event(vbKeySnapshot, 1, 0, 0)
    
          'To get the Active Window
        Call keybd_event(vbKeySnapshot, 0, 0, 0)

Posting Permissions

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



Click Here to Expand Forum to Full Width