Free video Tutorials
Updating every hour!

How To Get Pixels In Visual Basic 2008


Visual Basic 2008 - Get Pixel. I just got bored so i thought i would make a video on a program that gets the current pixel your mouse is over, pretty simple coding. Codes: Dim BMP As New Drawing.Bitmap(1, 1) Dim GFX As System.Drawing.Graphics = System.Drawing.Graphics.FromImage(BMP) GFX.CopyFromScreen(New Drawing.Point(MousePosition.X, MousePosition.Y), _ New Drawing.Point(0, 0), BMP.Size) Dim Pixel As Drawing.Color = BMP.GetPixel(0, 0) Me.BackColor = Pixel Thanks for watching…