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 sequence of UML diagrams in project? At First let me say some fact about this question, you cannot implement all the nine diagrams given by the UML in one project;

I am looking individuals who have industry experience working on Microsoft Technology and Jquery ( MVC 4.5 ), who will take live online session and give training through Team Viewe

Development Executive of DataFlow System, We started by initially providing our customers with customized ITES solutions and IT. We have now expanded our services which add QA s

What is the namespace in which .NET have the data functionality classes? System.data : This namespace contains the basic objects used for accessing &  storing relational d

Design an interface and add code to command buttons using case statement, to find coursework to be calculated using formula 0.6*1/6*total Mark

What is black box testing & White box testing? The Black box testing is also termed as functional testing. It ignores how the internal functionality of a system works & depends

What is the relation between Classes and Objects? The class & object look very much same but are not same. The Class is a definition, while object is a instance of the class cr

Project Description: We require working system to send message in bulk to whats-app numbers without getting blocked. Multiple senders can be used. Skills required: .NET, P

What is a class? A class describes all the attributes of objects, as well as the methods that execute the behaviour of member objects. It is a comprehensive data type, which sh

Explain memory-mapped files. Memory-mapped files (MMFs) permit you map the content of a file to the logical address of an application. These files enable the multiple processes