How do I get resource file values in Visual Basic?
I thought it was something similar to:
my.Resource.whateverhere
Is that not the kind of resources you are looking for?
Try
Global.<MyNamespace>.My.Resources.<ResourceStringName>
to access Resource Strings
Refer to the MSDN article Retrieving Resources with the ResourceManager Class for naming convetions:
Dim myManager As New _
System.Resources.ResourceManager("ResourceNamespace.myResources", _
myAssembly)
Try ResourceManager("MyProjectName.Resources", ...)
, otherwise if it's the application resources you can simply use My.Resources.HD
(see here:My.Resources Object)
or
Open Reflector, load your assembly there, go to resources, a list of resources appears, search for the one containg 'HD'
, copy the name (it's like MyProjectName.Resources.resources), remove the last .resources
and try with that.