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
2
votes
1 answer
Adding a space to a resx language value
I want to add a space between two words in a language resx file where I am translating from English to Afrikaans/Dutch, specifically for an input placeholder field. The problem I'm having is when I run the cshtml page, the words after the space…

user1397978
- 255
- 1
- 7
- 24
2
votes
2 answers
How can I not escape a character sequence in a string in C#?
I am reading in a value from a resource file (.resx) in C# and in that value, I have added \r\n\r\n so that it gets displayed in the correct format. e.g. blah\r\n\r\nblah
For some reason, the string automatically adds a '\' so effectively text…

Swati Bhartiya
- 101
- 1
- 8
2
votes
1 answer
Where to store resource files with Angular
I've got a JSON file containing a list of time zones which I want to reference in my project, but I'm not sure of where I should store this.
I'm considering making a directory called /resources or /assets
Alternatively, I could store in…

Jack
- 472
- 6
- 13
2
votes
1 answer
How to "hide" files from interface builder?
My project uses a huuuge number of png file, all added as resources to the XCode Project.
Now, the problem is, whenever I try to use Interface Builder, it parses all these files, and gets terribly slow.
Is there a way to differentiate between…

shinjin
- 2,858
- 5
- 29
- 44
2
votes
2 answers
Automatically deploy resource files to Central Administration's App_GlobalResources folder when deploying a solution to a web application
I'm developing a SharePoint 2010 solution which consists of some web parts and other components. Furthermore the solution needs a application pages in the Central Administration for configuration.
So my solution contains an extra feature which…

Flo
- 27,355
- 15
- 87
- 125
2
votes
2 answers
How do I create and recall class objects from a resource file that I can use at runtime?
I am trying to create a resource file of message codes. I've created a small console example that fails when I try to recall the object.
I based this on this MSDN -Creating Resource Files example, but I don't know what I've missed while I tried to…

Rich Shealer
- 3,362
- 1
- 34
- 59
2
votes
3 answers
Where to find joomla content source files
I'm having this website on joomla framework http://carhitz.com/
I want to add some new buttons and new divs to different pages of my website but I can't find the source code of individual pages. I know that they're in the components folder with…

Muddassir Ahmed
- 37
- 1
- 7
2
votes
1 answer
Best practice to protect resources against reverse engineering
In order to address some level of protection against reverse engineering or decompilation, I decided to move the important parts of my C# application including several xml resources into a native C++ DLL file based on the method described here for…

utvecklare
- 671
- 1
- 11
- 25
2
votes
2 answers
What is the best way to associate error messages with error codes in C#?
I have a piece of software written in C#.NET that communicates with a device via USB. When a problem occurs the device sets an error code which is read by my software in the form of an integer. I want to store error messages in my C# program that…

PICyourBrain
- 9,976
- 26
- 91
- 136
2
votes
0 answers
Error When Editing ImageList in Multi-Language Form
I just experienced an error and found another person reporting the error - with no solution - in 2008. I thought I would post it here, too, in hopes it has been resolved in the last 7 years.
In C#, in Visual Studio 2013, when you edit an ImageList…

Dan B.
- 21
- 2
2
votes
1 answer
.NET loading incorrect resource file
I'm running into an issue where .NET appears to be loading the incorrect resource file, and I haven't found any resources online that have run into a similar problem. This has so far only occurred on a backend server when we are trying to get info…

The Great Laughter
- 21
- 6
2
votes
1 answer
Best practice to implement globalization in MVC application
For form labels and alert messages which are client side, using resource file is heavy or not ? Shall I need separate implementation for client side specific strings using jquery and resource file for server side messages. Please let me know the…

sudheer muhammed
- 99
- 2
- 8
2
votes
0 answers
C# mvc override model display name without duplicating the model
I have myself a basic MVC project which I wish to use inside of another project, however I am having a problem with the Display name attribute.
Ok so here is what I'm trying to achieve,
My "default" mvc project has a model called "Person" and in…

Canvas
- 5,779
- 9
- 55
- 98
2
votes
1 answer
How to link a compiled resource (.res) file into an executable
What I want to do is to programmatically update resources of an executable file.
I have a binary resource (.res) file containg bitmaps, icons, version info and a manifest, created with a resource editor, and a PE file compiled with AutoHotkey to…

Chris
- 1,213
- 1
- 21
- 38
2
votes
1 answer
How do I iterate over a Mac Resource Fork
I want to be able to iterate over a Mac OS Resource Fork so a Cocoa Window can show how many resources there is for a specific resource type (I.e., 'MADI').
I want to use the (yes, I know they're deprecated) Carbon Resource Manager functions. The…

MaddTheSane
- 2,981
- 24
- 27