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..
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..