>Keith,
>
>One more question if you dont mind.
>
>In VFP you can set an array as a form property.
>
>Then in any method I could reference thisform.myarray[1,1] etc..
>
>Is this possible in .net or would I just dim it at the top if the class outside any sub's to be available from all methods?
>
>Paul
Paul,
This is simple in VB.NET. Instead of dim-ing it at the top of the class, declare it as a Property.
Class myForm
Inherits ..Form ' not sure what namespace Winforms use here
Private _myArray(100,4) as String
Protected Property myArray() as String()
Get
Return _myArray
End Get
Set(Value as String())
_myArray = Value
End Get
...
End Class
The IDE will fill in most of the stuff for you after you declare the Property.