hi,

i am making a small application where i need to take a screenshot of a textbox. i am learning vb and i found in one of the books keybd_event to simulate a screenshot..

keybd_event 44, 1, 0, 0
Picture1.Image = Clipboard.GetData

keybd_event takes the shot of the entire frame.. (as expected)

does anyone know how to take a screenshot of a particular component of a frame?

another question -- is there any way i can edit an image that is there in the clipboard (or crop an image - for that matter) ??

thanks!

edit: this is my first post here, so please bear with me if i have not followed the ethics here! cheers!