I have used the conversion wizard to convert several vb6 programs. It works fine but....
I am trying to pass multi-dimensional array arguments to a subroutine which worked fine in vb6 but is not accepted in .net. The ParamArray/vb.net used at the end of the arguments only accepts one dimensional arrays. Any ideas of how to make the conversion work in .net? Making the array global eliminates the need to pass the array but that is memory intensive.
Also when I run the program using the main() as the entry point, .net runs through the code in main, but doesn't display/run the forms and then ends! It worked fine in vb6! If I enter the .net program with a form, then it doesn't see the variable declarations in the main(). Where or how should I put the declarations so the program sees them but starts with the form?
These are probably pretty basic questions, but they have me scratching my head. Any help would or direction would be very much appreciated.
Thanks,
Gary