how to fix object reference not set to an instance of an object in vb.net code example Example: object reference not set to an instance of an object vb Board1.Init()