Hi,
I must be overlooking something really simple.
SITUATION
A form Application, but this is about the two added Class Modules: Class1.vb and Person.vb
Person.vb
--------------
VB Code:
Public Class Person Public Name As String Public Age As Integer End Class
Class1.vb
-------------
VB Code:
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. End Class
PS
* 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. (#_#)




Reply With Quote