Resource File Class in My.Resources Namespace in Vb2005.

  • Thread starter Thread starter Thomas, Mark
  • Start date Start date
T

Thomas, Mark

Hi,
When I add a resource file it creates a new class in My.Resources namespace.
But the Class is Friend type, and also all the Property resource string is
also Friend type.

My question is how do I make it public instead of friend. Is there any way
doing it.
How do I use it from another project. Please help.

Thanks, Mark.
 
Thomas said:
When I add a resource file it creates a new class in My.Resources
namespace.
But the Class is Friend type, and also all the Property resource string is
also Friend type.

My question is how do I make it public instead of friend. Is there any way
doing it.

Write a class which has public properties and provides generic access to the
project's resources. 'My' is a project-level thing.
 
Back
Top