The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Using Resources in Visual J# Applications 

Visual Studio 2005

You can store resource files (.resx), such as error messages, within your Visual J# project without worrying about a CLASSPATH to map their location. When you build your application, the linker embeds the resources into the assembly output. At run time, the common language runtime (CLR) uses .NET Framework semantics to locate and load the appropriate resource from the application path.

There are three benefits to using the .NET Framework semantics for resources:

  • Fully managed, protected environment for running applications.

  • Built-in support for localization.

  • Simplified application deployment.

When upgrading existing Visual J++ 6.0 projects, you can use the Visual J# Resource Generator (Vjsresgen.exe) command line tool or the .NET Framework Resource File Generator Tool (Resgen.exe) to convert your resource files to the .resx file format. For more information, see How to: Upgrade Visual J++ 6.0 Applications That Use Resources.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft