i was trying to make a screen shot of my working place only but it gets my whole desktop
and i save it to my desktop only using this code
i dont know if it is able to insert to my access database?
Sub takescreenshot()
Try
Dim Img As New Bitmap(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height)
Dim g As Graphics = Graphics.FromImage(Img)
g.CopyFromScreen(0, 0, 0, 0, Img.Size)
g.Dispose()
MsgBox("done!")
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
and i save it to my desktop only using this code
Img.Save("D:\Documents and Settings\Rhy\Desktop\screenshots\myimage.jpg", Imaging.ImageFormat.Jpeg)
i dont know if it is able to insert to my access database?