By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,067 Members | 1,818 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,067 IT Pros & Developers. It's quick & easy.

reference exception was unhandled

P: 7
Hi,
I've application to capture video of image, grab the still image and process it. It runs well until I put loop to regrab and the still images many times automatically.. and the error happened. The error is Null reference exception was unhandled. I found that the error happened when I call one image file :
//// apply filter subtract===>>>> call file from out bin folder <<<<=====
System.Drawing.Bitmap subtract = filter1.Apply(image2);
In the code above, image2 is the name of file image that I retrieved from bin folder. However, if I not using loop, it can execute smoothly. I'm using C# Express edition. Im stuck now. Could anybody help me please...
Apr 24 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.