Load( ) method (Class)
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
(Windows only; .NET)
Loads resources from a .NET XML resource (.resx)
file associated with a .NET form class, and returns a System.Resources.ResXResourceSet instance through
which you can access the resources by name.
Return type:
System.Resources.ResXResourceSet class from .NET
Access: PUBLIC STATIC
Applies to: Progress.Util.ResourceHelper class
Syntax
|
- filename
- A CHARACTER expression that specifies a .NET XML resource (.resx)
file that contains the resources you want to load. You can specify filename with
an absolute pathname or a relative pathname based on path.
If you do not specify path, the AVM looks for
the file in the current working directory.
A resource file is always named the same as the form with a .resx extension, and is located in the same directory as the source code for the form.
- path
- A CHARACTER expression that specifies a relative path in which to
search for the file specified in filename. This is
typically "PROPATH" or a subset of your PROPATH. If you do not specify a path, you must
specify the empty string (
"").
The following example loads the resource file form1.resx from PROPATH and accesses an image in the resource file:
|
For information on the System.Resources.ResXResourceSet
class, refer to the .NET class library documentation.