Resource File
Resource File
On VB.NET project , How do I reference the string values of a recourse file?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Resource File
Hello,
Could you please describe in more detail what you want to do?
Thank you!
Regards,
Bernhard
Could you please describe in more detail what you want to do?
Thank you!
Regards,
Bernhard
Re: Resource File
I would like to use the resource file and add string values to my project, how do I go about referencing the name in my vb project. I would like to use this to replace hard coded values such as URL's.
For example
Resource file
name = test_url
content = www.google.com
Code Module
Host.Local.OpenBrowser(test_url, "IE", "", False, True)
Is this the proper method to reference the resource file string name?
For example
Resource file
name = test_url
content = www.google.com
Code Module
Host.Local.OpenBrowser(test_url, "IE", "", False, True)
Is this the proper method to reference the resource file string name?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Resource File
Hello,
If you want to use variables in your code you can either use global parameters or a data connector instead of the resource file.
If you want to use an external resource file, you can use the methods from the .NET IO Namespace in order to parse the file and save the specific values into you variable.
Regards,
Bernhard
If you want to use variables in your code you can either use global parameters or a data connector instead of the resource file.
If you want to use an external resource file, you can use the methods from the .NET IO Namespace in order to parse the file and save the specific values into you variable.
Regards,
Bernhard