Objects not accessible because they are "Friends"

Discussion created by Enplan on Nov 1, 2010
Latest reply on Nov 10, 2011 by jason.tipton.gis
With Arc10 and VS2008 / VB.net, I'm getting the following error:

"(object) is not accessible in this context because it is 'Friend'"

for esriUnits and tagRECT.

Any ideas why they are inaccessible, especially constants like esriUnits?