Hi,
I have a class like this
What I would like to do is have an array made of this class on my form.Code:Public Class UserInfo Public UserName As String Public Password As String Public Premissions As String Public FirstName As String Public LastName As String Public Comment As String End Class
example.
Dim A() As New UserInfo
A(0).UserName = "ME"
A(1).UserName = "You"
...
I find my problem being that I can not use the keyword New with an array. And if I don't use the keyword New, it doesn't work with this error message: Object reference not set to an instance of an object.
Any help would be appreciated.
Jeremy




Reply With Quote