I have a question about using Structures..
Code:
Public Class TestIt
Public Sub RunTest()
Dim ST As New StructTest
ST.ClientInfo.??? 'It wont let me access the structures members, why?
End Sub
End Class
Public Class StructTest
Public Structure ClientInfo
Public Name As String
Public HomeAddress As String
Public Phone As String
End Structure
Public Structure ClientJobInfo
Public Company As String
Public CompanyAddress As String
Public CompanyPhone As String
End Structure
End Class
Why cant I access the structures members when I try to reference them from an instance of the StructTest class? They are all public.
Hinder
