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 Difference between NameSpace and Assembly? Following are the differences among namespace and assembly: Assembly is physical grouping of logical units, Namespace, log

What is the DataContext class and how is it related to LINQ? After you add a LINQ to SQL Classes item to a project and open the O/R Designer, the empty design surface shows an

This assignment document will be distributed from Blackboard assignment folder. Some parts of the assignments will require you to research answers from your text book (you must rea

What is basic use of "DataView"? The "DataView" represents the whole table or can be small parts of rows depending on some criteria. It is the best used for sorting and finding

This is a Customer Management project. Customer data is offered in a text file. The program may load this text data into its database columns. The data mapping is user definable. U

Construct a .NET wrapper for a C++ Dll - repost Project Description: We have a classic VC++ Dll (source code of DLL not required) that requires a .NET wrapper built by you. U

Difference between Panel and Group Box classes? Panel & Group box both can used as container for other controls like radio buttons & check box. the difference in panel & group

What is the difference between DELETE TABLE and TRUNCATE TABLE commands? Following are differences between delete & truncate commands:- 1)The DELETE TABLE syntax logs the de

What is CMMI? This is a collection of instructions an organization can follow with the purpose to gain the better control over its software development process. According to