battle programming a forum for elite programmers with extreme will power to sharpen theire skills
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share
 

 vb.net capture selected part from screenshot

Go down 
AuthorMessage
Moti Barski

Moti Barski

Posts : 330
Join date : 2011-08-02

vb.net capture selected part from screenshot Empty
PostSubject: vb.net capture selected part from screenshot   vb.net capture selected part from screenshot EmptySat Dec 05, 2015 12:47 pm

overlord stage 2 was enabled

add btn and picbox
Code:
Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim pic As Bitmap = New Bitmap(270, 100)
        Dim gfx As Graphics = Graphics.FromImage(pic)
        gfx.CopyFromScreen(New Point(MousePosition.X, MousePosition.Y), New Point(0, 0), pic.Size)
        PictureBox1.Image = pic

    End Sub
End Class

_________________
MB over and out emp it up
Back to top Go down
View user profile
 
vb.net capture selected part from screenshot
Back to top 
Page 1 of 1
 Similar topics
-
» Selection of sub menus in Selenium IDE

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: