Ok, so here's the deal: you help me, i'll be in your debt for the next 30 years! or i can just say 'thanks'.

I have two structure: board (grid(5,5) as short) and shape(grid(5,5) as short; name as string; h,w as short)
I also have an array of shapes named Shapes(28) as shape.
i have a function that integrates the shape into the board, and i have a sub that loops through Shapes(i) and intgreates them into a certain user-determined board.
BUT, i keep getting the following message:

An unhandled exception of type 'System.NullReferenceException' occurred in ShapeShifterSolution.exe

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

SO... Can anyone tell me HOW to set the object refrence to an instance of an object?

Thank you for reading this.