Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cropping image using Cursor ??

Status
Not open for further replies.

ridifvx

Programmer
Apr 10, 2003
34
ID
I want to crop a part of image using a VBNET what i had done is
1. Open the image
2. Show the image using picture BOX
3. Scretch the image if not fit into the Picture Box

4. Now i want to select an area in a pictureBox using pointer so i can crop the image in selected area and show it in another form..how can i do that..please help thanks for advance

p.s. i have doing some graphics manipulation using cropping but i always get this error

An unhandled exception of type 'System.NullReferenceException' occurred in microsoft.visualbasic.dll

Additional information: Object variable or With block variable not set.

what does it means?? thanks..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top