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
0
votes
1 answer
How to use Customized Exception Handling Using Resource File in Asp.net
I need to create a resource file for if any error occurs which should be goto resource file and show custom error message
If user want to change error message then he should change from resource file which should updated to custom error message…

gopi krishna
- 13
- 2
0
votes
0 answers
Reading from file using fstream corrupts data
In Visual Studio 2013 using the VC11 compiler i try to implement an automatic build increment, for that reason I try to read the resource-file with the version information with a fstream, but the problem is that half of the loaded content is…

mbed_dev
- 1,450
- 16
- 33
0
votes
0 answers
resource file not linked
people..I'm using autotools to build my gtk2 application. I want it to make crossplatform. This is my configure.ac:
AC_PREREQ([2.67])
AC_INIT([gtk2gifviewer], [1.0.0.0],…

Joel
- 1,805
- 1
- 22
- 22
0
votes
1 answer
How can I use a dialog (resource file) on a new VS 2013 project from a different VS 2013 project?
Let me first say that I do not want a copy of a resource file on two projects (I have seen a question about that).
Using Windows 7, MS VS 2013, C++, MFC.
These two projects I will be referencing are part of the same solution.
I have a dialog that…

Clay
- 1
- 1
0
votes
0 answers
Why would TreeView control send ASCII notifications instead of Unicode ones?
I would like to know what could cause the TreeView control to send ASCII notifications instead of Unicode ones.
In my program I have a child dialog defined in the resource file like this:
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_TREEVIEW DIALOG 0,…

LHLaurini
- 1,737
- 17
- 31
0
votes
1 answer
how to use resource files in sharepoint 2010
i want to know the correct path to put my resource files in a web application in sharepoint 2010

mahmoud farahat
- 33
- 2
- 6
0
votes
1 answer
VS_VERSIONINFO structure - unnecessary padding
I have taken the VS_VERSIONINFO structure from a file and the Value (VS_FIXEDFILEINFO) is padded with 32 bits.
According to MSDN, Value should be padded to fall on a 32 bit boundary.
Padding1
Type: WORD
Contains as many zero words as necessary to…

Chris
- 1,213
- 1
- 21
- 38
0
votes
1 answer
How to use escape sequences in strings contained in resource files
I have a string that I get from my resources a .resx file
in my resx file I have my key and my string which is:
Hello\r\n We're just you setting up
now when I pull this string out and bind it to a label in my view I see that exact string where as…

JKennedy
- 18,150
- 17
- 114
- 198
0
votes
1 answer
External/standalone (not linked into .exe) .res file?
From my experience .res files are only used in the development stage by MSVC and as such are never shipped with a compiled executable (as described here: http://msdn.microsoft.com/en-us/library/windows/desktop/ms648007%28v=vs.85%29.aspx). However,…

user4520
- 3,401
- 1
- 27
- 50
0
votes
0 answers
Reading a resource from resx file is very slow
I have a resource file
-stringsCommon0.resx
it is 1320 lines
for reading a resource I'm using the following code
DateTime time1 = DateTime.Now;
string strResult = Resources.stringsCommon0.ResourceManager.GetString(stringName); …

brtb
- 2,201
- 6
- 34
- 53
0
votes
1 answer
Undefined reference to class methods using Code::Blocks
Coming from the Java/Eclipse world, just wanted to brush up on C++ and using Code::Blocks.
Was making a basic class and am having trouble implementing it to my main file.
Getting "undefined reference to 'Time::Time(int, int, int)'" and undefined…

TheNotoriousWMB
- 139
- 2
- 11
0
votes
0 answers
Syntax error in Windows resource (.rc) file
I have a problem with a package of files, including a main.rc. I never worked with rc files, but I have to resolve a problem for a friend of mine. This is my "main.rc":
#include
#ifdef GCC_WINDRES
VS_VERSION_INFO …

Gee
- 1
- 1
0
votes
0 answers
My Model Error is removed if I am using Resource File
Hi I am using a model having
[Range(1, 4, ErrorMessageResourceName = "NameRequiredError", ErrorMessageResourceType =typeof(Resources.PatientNotes))]
public int ActionType { get; set; }
My Resource file contains key as NameRequiredError and its…

Ajay Suwalka
- 549
- 1
- 7
- 24
0
votes
1 answer
Generating text for resource files
I'm trying to generate text that looks like the following:
[Åđđřęşş Ŀįʼnę 1 !!! !!!]
I want this for my default resource file so I can easily identify when a translation is missing.
I'm sure this kind of text generation must have a name that I just…

Ashley Medway
- 7,151
- 7
- 49
- 71
0
votes
2 answers
Editable strings with .resx files at runtime
I am working on a multilingual ASP.NET MVC application (MVC4).
I want to make my resource file strings to be editable at runtime without recompiling the appliaction and I have done it successfully but the changes are not reflected on UI, however the…

Pawan
- 1,704
- 1
- 16
- 37