How to get one class accessing another class' properties?
Posted on 2006-05-11
I must be overlooking something really simple.
A form Application, but this is about the two added Class Modules: Class1.vb and Person.vb
Public Class Person
Public Name As String
Public Age As Integer
Public Class Class1
Dim person As New Person
person.Name = "Bob" <---- Name doesn't show up in Intelisense and this gives a "Declaration expected" error.
* They are in the same (root) namespace.
* I know the above Class design is *crappo*. It's just put together as a simple illustration of my headache, I mean problem. (#_#)