How to use the value in .resx

A

ad

Hi,
I have add a value(name String1) into Resource1.resx.

How can I refer it in code?
 
G

Guest

Create Resource Manager

Dim a As New
System.Resources.ResourceManager(FullyQualifiedResourceFileName,
TypeOf(assesmblyname))

Retrieve value by using its key
a.GetString(Key)

Note: I dont remember exact syntax
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top