Link to home
Start Free TrialLog in
Avatar of DColin
DColinFlag for Thailand

asked on

Print screen not working from VB code.

Why will the following code not capture the entire screen but only the vb application window? I thought it was ALT + PRTSC that only captures the current window and PRTSC alone captures the entire screen.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    End Sub

Open in new window

Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DColin


Idle Mind,

Thanks that works. If you don't mind I will leave the question open a few days in case someone can answer the original question.