D
DanielNoack
Hi,
I have a problem that I am unable to get an array of objects to
instantiate properly when it is declared with no upper bound. My code
is as follows
dim mParams() as clsParameters
mParams(0) = new clsParameters
produces an error saying mParams is set to nothing however if I change
the declaration to have an upper bound it works like
dim mParams(3) as clsParameters
mParams(0) = new clsParameters
this works but I need the array to be unbounded, does anyone know what
I am doing wrong or if this is possible to have an unbounded array of
objects in VB.NET ??
Thanks for any help.
Daniel
I have a problem that I am unable to get an array of objects to
instantiate properly when it is declared with no upper bound. My code
is as follows
dim mParams() as clsParameters
mParams(0) = new clsParameters
produces an error saying mParams is set to nothing however if I change
the declaration to have an upper bound it works like
dim mParams(3) as clsParameters
mParams(0) = new clsParameters
this works but I need the array to be unbounded, does anyone know what
I am doing wrong or if this is possible to have an unbounded array of
objects in VB.NET ??
Thanks for any help.
Daniel