Area Selection Box

G-Man

Member
Joined
Nov 30, 2006
Messages
6
Programming Experience
10+
I'm writing a graphic editing program in VB.Net 2005. I've written similar apps in VB6.0. Im having a whale of a time trying to figure out how to create an area selection lasso. (See the image if you don't know what I'm talking about.)

selboxxu5.jpg


In VB6.0, I'd simply use a shape control to represent the selection box/lasso. There is no shape control in VB.Net. How are these selection boxes made without altering the underlying image in the picturebox? I mean if I had to draw the lasso on the picture box, then I'd need to grab a copy of the indicated area so that I could drop it back in place to erase the lasso as its size changed or if it were dismissed. That seems like a very slow way of doing things.
 
See attached example project
 

Attachments

  • vbnet20-graphicSelection.zip
    58.1 KB · Views: 124
Hihi,

I would like to know how can i edit the above codes so that I can make multi selection and save the image with the selection into the SQL database?

Best Regards,
Dawn.Lee
 
Back
Top