Udostępnij za pośrednictwem


Strongly Typed Resources Application Sample

This sample demonstrates the benefits of using strongly typed resources during application development. This sample is available only in Visual Basic.

For information about using the samples, see the following topics:

To build the sample using the Command Prompt

  1. Open a Command Prompt window and navigate to the VB subdirectory of the StrongResources directory.

  2. Type msbuild StrongResourcesDemoVB.sln at the command line.

To build the sample using Visual Studio

  1. Open Windows Explorer and navigate to the VB subdirectory of the StrongResources directory.

  2. Double-click the StrongResourcesDemoVB.sln file to open it in Visual Studio.

  3. In the Build menu, select Build Solution.

The application will be built in the default \bin subdirectory.

To run the sample

  1. Navigate to the directory that contains the new executable file, using the command prompt or Windows Explorer.

  2. Type StrongResourcesDemo.exe at the command line, or double-click the icon for StrongResourcesDemo.exe to launch it from Windows Explorer.