Resource files, DOT NET Programming

What are resource files?

The Resource files are the files which contain program resources. Many programmers think that resource files are used only for storing strings. But you can also store fonts, bitmaps, icons, wave files into resource files.

In order to generate the resource file you require click on tools - generate local resource as shown in the below figure. Always remember to keep page in designer view or else you will not see the option. Once you create the resource file you will see the resx file generated in the solution explorer.

1619_Resource files.png

Figure: - Generating resource files using IDE

If you see the resource file it have basically key and the value for the key.

1806_Resource files1.png

Figure: - Resource file in action

If you see the figure above the key is basically the object name. You can view the Label1 has some value stored in the resource file.

Posted Date: 9/25/2012 3:13:51 AM | Location : United States







Related Discussions:- Resource files, Assignment Help, Ask Question on Resource files, Get Answer, Expert's Help, Resource files Discussions

Write discussion on Resource files
Your posts are moderated
Related Questions
What is the use of connection object? The connection objects are used to connect a data to the Command object. 1)An OleDbConnection object is used with theĀ  OLE-DB provider

Asp.net expert and simple html I am not new to the industry. I am seeking a long term asp.net developer to build and maintain a volleyball player management website. We would

What are the steps to create a windows service in VB.NET ? The Windows Services are long-running executable applications that run in its own Windows session, which then has the

C# Programming 1. What is .Net Framework? 2. Write short notes on constructors and destructors. 3. Explain boxing and unboxing with examples. 4. What is a mixed mode a

Nutritional properties of Processing food Processing food, you may have realized that many desirable changes occur, which include development of pleasing colours and flavors, i

Full Time Coder My colleague is seeking for someone to work on his website via team viewer. First I would need scale following skills- a) C# - b) AJAX - c) LINQ to S

What are the precautions so that StateServer Mode work properly? Following are some points to remember so that StateServer Mode works properly:- a) StateServer mode session

Briefly explain how the server control validation controls work? A validation control works by evaluating the value of an input server control on the page to see whether it mee

We have a web based program completed with .NET C# and Microsoft SQL Server. There are some reports requires to be created. Required Skills. - High Proficiency in .NET C#

TASK - DESIGN ALGORITHM You are required to design a suitable solution algorithm by using either structured chart, pseudocode or flowchart. This diagram should clarify the proce