User:Boris.tt

The following VB 6.0 sentence

is converted to an identical VB.Net sentence

The problem is that VB 6.0 engine initializes each element of the PA array to an empty string, whereas in the .Net framework each element is set to null. If we now pass the PA(1) element to the following method

then an exception will be thrown, since the input variable is null.