refer to resource using string variable

The solution for “refer to resource using string variable” can be found here. The following code will assist you in solving the problem.

Dim ResourceName As String = TextBox1.Text
Dim ResourceContents As String = My.Resources.ResourceManager.GetObject(ResourceName)
RichTextBox1.Text = ResourceContents

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts