As many of you that have worked with VB.NET know, and have been irritated by, you can't use a nonconstant variable to size an array.
A simple workaround, reply if this is a problem, is to take input on the size of the array (Yes, I know you can't do this, but wait) Now you create a constant and set it equal to the new input. While this is not the best case scenario for working with many arrays (just go multidimensional).
I hope this helps, and if it is wrong or will cause problems someone tell me but it's worked for me.