dim resourceName as string
resourceName="<YourNameSpace>.<ResourceName>" ' resource name must be
without extension
' sample: resourceName="Emergency.myResource"
Dim resources As New ResourceManager(resourceName,
[Assembly].GetExecutingAssembly()))
Dim searchedKey as String
Dim FoundValue as String
searchedKey ="?????"
FoundValue = CType(resources.GetObject(searchedKey ), String)
Ernest
"Bob Rock" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "William Ryan eMVP" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > http://www.knowdotnet.com/articles/ddl.html
> > http://www.knowdotnet.com/articles/configfiles.html
> >
> > --
> > W.G. Ryan MVP Windows - Embedded
> >
> > www.devbuzz.com
> > www.knowdotnet.com
> > http://www.msmvps.com/williamryan/
>
> I've looked at both articles. The second contains nothing useful. The
first
> does not show what I asked for.
> Suppose I have a SINGLE embedded .resources file in my assembly containing
> MANY key/value pairs. I'd like to be able to access the different values
> passing in the key. How can I accomplish this???
>
> Bob Rock
>
>
>