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 serialization, how it works in .NET? Serialization is when you persist the state of an object to a storage medium so an exact copy can be re-created at a later stage. S

What are the steps involved to fill a dataset ? The sample code is shown below: Private Sub LoadData() Dim strConnectionString As String strConnectionString = AppSetti

What is a delegate? The Delegate is the class that can hold a reference to a method or a function. The Delegate class has a signature and it can only reference to those methods

Question: (a) One of the advantages of the Session object is that it prompts to you when a user session begins. In this context, a user fills in a registration form and the Se

I need help to develop website using html5, responsive design and jquery.I need e commerce website flike alma meter and spreadshirtHours Skills required: .NET, HTML, Graphic

What is "Common Language Runtime" (CLR)?  CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that changes a MSIL code into the host machine language code,

Project Description: We are looking for same usability/options of coachup.com thus, we will have different own UI design. Conditions: State your price and please describe/

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

If one of your validations is complicated and does not fit in any validators, what you do? The best way is to go for CustomValidators. The sample code for a custom validator

What is a Cloud Service? A cloud service is used to build cloud applications. This service gives the facility of using the cloud application without installing it on the comput