Resource files are those files that are used to instruct the compiler/linker toolchain on which resources (icons, dialogs, etc.) are to be embedded in the binary being built.
Questions tagged [resource-files]
267 questions
1
vote
2 answers
Spring Injection can not find variable in resource file
I have a resource file created in my project. I want to inject values from resource file into spring bean. i defined the place holder for resource file in the applicacationContext.xml.

erencan
- 3,725
- 5
- 32
- 50
1
vote
2 answers
Resource compilation for C# project
I have a C# project with a great deal of image files in resources. The compilation these resources takes about 30 seconds each time I build the project.
I am wondering if it's possible to configure Visual Studio 2010 to prevent resource compilation…

Ronnix
- 310
- 4
- 12
1
vote
1 answer
Access resource within the calling assembly
I'm moving some code from an application to a helper class project. This application uses resource files that hold texts and their translations.
Is there a way to still access the resource files from the application within that new helper project?…

Tys
- 3,592
- 9
- 49
- 71
0
votes
1 answer
Text in resource file is not displaying correctly in Chinese
I have a website that is written in asp.net where the text is resourced in resource files. I am able to successfully view the correct characters for all (Spanish, German, Arabic, Korean, etc) languages except Chinese. When I change my browser to…

Matt
- 619
- 5
- 12
0
votes
1 answer
Generating a list of shortcuts (denoted by button captions containing the & symbol) from resource files
I have a list of 429 MFC resource files that I have to generate a list of shortcuts for, which would be buttons containing an ampersand symbol (e.g. BUTTON "&Close") indicating that ALT-C is the shortcut for closing that particular dialog.
The…

Sean Chapman
- 322
- 1
- 10
0
votes
1 answer
Arabic resource files not being picked by ASP.NET web site
I'm working on a project that has a web application module that generates localized emails upon request. The app requires html templates localization for several languages. I decided to go with asp.net resource files since the email layout is not…

arbbot
- 303
- 2
- 6
0
votes
0 answers
Create resource using Visual Studio 2010?
I'm attempting to create a resource in Visual Studio 2010 which I will use to create a custom dialog box. Microsoft gives these steps:
http://msdn.microsoft.com/en-us/library/sxdy04be.aspx
However there is no "Resource File" option in the Add New…

Vern Jensen
- 3,449
- 6
- 42
- 59
0
votes
1 answer
Searching/Listing WPF resource files?
Is there a way to search a WPF application for resources?
I have added many images to an app and want to perform search i.e. MS*.jpg etc., Is this possible?
If I could create a list of all the resources, that would surely be helpful as well, but I…

Shimmy Weitzhandler
- 101,809
- 122
- 424
- 632
0
votes
1 answer
Populating placeholders in a local resource file
I have the following text in a resource file.
Hello {{studentName}},
Your schedule is ....
Is there a way to set the placeholder {{studentName}} to a given value, before loading the resource file? I've done this with strings, but not a resource…

Greg
- 747
- 9
- 23
0
votes
0 answers
Using Multiple visual studio .rc files and ID overlaps
When building stock Windows .rc files with Visual Studio, how do you include multiple .rc files in a project where the resource.h files associated with each .rc file may include overlapping ID definitions?
They may also include overlapping defines,…

rileymat
- 503
- 4
- 13
0
votes
1 answer
Automatic generation of translation file for Resource.resx is not working
I need to generate another language translation file automatically based on my Resources.resx file.
I already have the following lines present in my .csproj project file:
…

skm
- 5,015
- 8
- 43
- 104
0
votes
2 answers
Is is possible to force passing the key of a resource file entry, not the value?
I want to be able to retrieve a language dependent string during runtime, why I created the class below. It let's me get the value in the preferred language whenever I want with getValue():
internal class ResourceString : IResourceString
{
…

tickietackie
- 327
- 4
- 12
0
votes
0 answers
replace resource on copy to build
So I have a bunch of icons in a folder structure under project resources
- src/main/resources/META-INF/resources/
- icons/
- icon-set-alpha/
- a1.svg
- a2.svg
- ...
- icon-set-beta/
…

User1291
- 7,664
- 8
- 51
- 108
0
votes
0 answers
C++ modules kill windows resources?
I'm migrating a Petzold-style windows application to C++20 modules. My goal is to learn about the advantages and limits of modules.
After I have overcome several hurdles, one of the last problems left is the Windows resource file. The usual way to…

Peter Kraus
- 79
- 5
0
votes
1 answer
Embedded bitmap files and assembly size
I have several large embedded bitmap files in my resource project. The compiled exe is 13 megs. When I remove those bitmap files, it reduces to 6 megs.
I am trying to improve performance of the application. It is a WPF desktop application. Would it…

BrokeMyLegBiking
- 5,898
- 14
- 51
- 66