How to detect mouse clicking in vb.net? -
i want program when user click on either in application or outside of that, make screen shot , save jpeg folder
this code want put option in it:
imports system.net.mail public class form1 private function takeimage() return takeimage(0, 0, screen.primaryscreen.workingarea.width, screen.primaryscreen.workingarea.height) end function private sub form1_load(byval sender system.object, byval e system.eventargs) handles mybase.load picturebox1.image = ctype(takeimage(), image) end sub end class
by way i'm beginner in vb.net
i guess desktop application , takeimage(,,,) works. in form, add button, double click , call takeimage there.
there saving jpeg - google on how convert bitmap(?) format takeimage jpeg , google how save it. in vb.net should rather easy handle files.
but first set return type on takeimage function. as image
. doesn't change program practice , aid in learning editor continuously give helping feedback.
happy hacking!
Comments
Post a Comment