OK. Ignore my very last post. I think I get it now. You need to build the arrays Test1(7000) and Test2(7000) in order to pass them on to the rest of the program, which is already created, in vb6, now ported to vb.NET. So the rest of the program is expecting these arrays. .

Be right back.