Creating and Retrieving Resources
Visual Studio .NET 2003
In addition to containing executable code, applications will frequently contain nonexecutable data in the form of resources. Resources represent embedded data, such as strings or images, which can be retrieved at run time and displayed in the user interface. A common use for resources is localization of Windows Forms applications. Although resource management is handled in localization by the automatic creation of satellite assemblies, you can also manually retrieve and display resources at run time. The topics in this section demonstrate how to create resource files and resource assemblies, and how to retrieve them at run time.
In This Section
- Creating and Editing Resource Files with ResEditor
- Explains how to use the ResEditor application to create and edit resource files.
- Embedding Resource Files in Applications
- Describes how to add a resource file to an application.
- Creating Resource Assemblies
- Describes how to create resource-assemblies that can be updated without needing to recompile the solution.
- Retrieving Resources with the ResourceManager Class
- Explains how to use the ResourceManager class to retrieve resources at run time.
Related Sections
- Globalization and Localization Namespaces in Visual Studio
- Provides links to topics that describe how to use automatic globalization and localization for Windows Forms.
- Common Resource Concepts
- Provides detailed information about additional resource-related classes in the .NET Framework.