yeah ok
that is close then, but i dont want _everything_ to be
able to access the data, just one particular class
i have a class and a form object/class
the form is intended to fill out the information required
for an instance of the class
it would be nice if i could give the form access to the
classes data members, since it has a special relationship
with the class
-----Original Message-----
Well, Friend in VB .NET let's any other class/assembly in
your projectaccess the data in the class declared with this keyword.
--
Carsten Thomsen
Enterprise Development with Visual Studio .NET, UML, and
MSFhttp://www.apress.com/book/bookDisplay.html?bID=105
"Dave Cousineau" <sa******@shaw.ca> wrote in message
news:04****************************@phx.gbl... in c++ i could declare classA a friend of classB, and
this would allow classA to access anything in classB
can i do this in VB?
i notice that the friends keyword functions more like
the old Global keyword
.