Hey All,
I'm trying to add a resource file to my app but it's not working.
I have done the following:
-- Added a .resx file
-- Added some strings
-- Named the file "MyStrings.en.r esx"
-- Add the file as a resource to the "Project" "Properties " "Resources"
-- Tried to call the strings using:
Dim rm As ResourceManager
rm = New ResourceManager ("StringTabl e", Me.GetType().As sembly)
MessageBox.Show (rm.GetString(" String1"))
Clearly I'm missing something. How do these .resx files need to be added in
order to work properly?
I've looked at the documentation online and I don't see it.
Please advise.
Thanks,
TC
I'm trying to add a resource file to my app but it's not working.
I have done the following:
-- Added a .resx file
-- Added some strings
-- Named the file "MyStrings.en.r esx"
-- Add the file as a resource to the "Project" "Properties " "Resources"
-- Tried to call the strings using:
Dim rm As ResourceManager
rm = New ResourceManager ("StringTabl e", Me.GetType().As sembly)
MessageBox.Show (rm.GetString(" String1"))
Clearly I'm missing something. How do these .resx files need to be added in
order to work properly?
I've looked at the documentation online and I don't see it.
Please advise.
Thanks,
TC
Comment