Sprog
Member
I would like to save a bitmap file of a Print Screen. The full screen not only the form!!! Can anybody help me?????
SendKeys.SendWait("%{PRTSC}")
Dim Image As Bitmap = DirectCast(System.Windows.Forms.Clipboard.GetDataObject.GetData(System.Windows.Forms.DataFormats.Bitmap), Bitmap)
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
SendKeys.SendWait("%{PRTSC}")
Dim Image As Bitmap = DirectCast(System.Windows.Forms.Clipboard.GetDataObject.GetData(System.Windows.Forms.DataFormats.Bitmap), Bitmap)
End Sub
Originally Quoted By MSDN
the OS loader lock prevents multiple threads or processes from attempting to load DLLs at the same time, which could corrupt global data structures used during the loading process.