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
Want Microsoft CRM Dynamics CRM 2011 or 2013 programmer Project Description: Need to do customizations in CRM itself and integrate CRM 2011 with SAP Business One and HTML web

What's the difference b/w Unit testing, Assembly testing and Regression testing? The Unit testing is also known as the Component testing. The Unit testing ensures that the reli

What is PLINQ? PLINQ stands for Parallel Language Integrated Query. It is the parallel execution of LINQ, in which a query can be implemented by using multiple processors. PLIN

What is code access security (CAS)? Code access security (CAS) is part of the .NET security model that stops unauthorized access of resources and operations, and restricts the

I am seeking someone who can design customized software for me, preferably in .NET. I have a sql server backend which i would like to use so you only have to work with the front en

Define the ToolTip control. How can you associate it with other controls? The ToolTip control produces a small pop-up window with explanatory text for an element it is displaye

What is the use of data adapter? The Data adapter are the objects that connect one or more Command objects to a Dataset object. They give logic that would get data from the dat

Need Experienced Outlook (Microsoft Office) developer Your required skills: (1) A developer at heart, one that knows how to prepare modular, well-designed and clean code, (2) va

It's never told  to distribute complete implementation at client, due to following shown  reasons:- 1) Anyone can use ILDASM and decrypt your logic. 2) It is a bad architectu

Script for auto seating poker Project Description: Not just like that though. I need a similar program that can scan during poker lobbys (pokerstars, ipoker, full tilt and on