Hello all,

Does anyone know how to debug for such an error?

An unhandled exception of type 'System.NullReferenceException' occurred in Unknown Module.

Additional information: Object reference not set to an instance of an object.

I have a procedure that creates a grid of pictureboxes, everything seems to work, until they are visualised on the form.
When that happens I get that weird error message.

Thanks for your advice,
My best for the new year 2004.