;-) Good going.

So, your problem was the pictBarcodeTest control, not the Bitmap
object.

On Jun 15, 8:03 pm, "Scott M." <[email protected]> wrote:
> I found the solution. I had the following code before the point where
> the code broke.
>
>             if (pictBarcodeTest != null)
>             {
>                 pictBarcodeTest.Dispose();
>                 pictBarcodeTest = null;
>             }
>
> which made the picturebox a null object. I got rid of this code and it
> now works.
>
> Scott
>

Reply via email to