Questions tagged [resource-files]

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.

267 questions
10
votes
2 answers

Alternative for ResxResourceWriter in .NET Core

I need to create Resources(resx-files) in my .NET Core based application. Until now I used to use ResxResourceWriter from System.Windows.Forms for that. Any suggestions how to handle this task in .NET Core? Beside our existing software, which has…
Maxim Fleitling
  • 542
  • 4
  • 14
9
votes
3 answers

Error RC2135 in C++ project due to UTF-8 encoding of RC file

After switching from Visual Studio 2010 to 2012 I got 10 RC2135 errors that looked rather strange in one of my C++ projects. Error 1 error RC2135: file not found: 0x06 NamedPipesNative.rc 19 1 NamedPipesNative Error 2 error…
RenniePet
  • 11,420
  • 7
  • 80
  • 106
8
votes
1 answer

Delphi Version number central but other info decentral

Background Upto RS10.3 I used to use Andreas Hausladen DDevExtensions to set my version number in my project sources to be the same for all modules (bpl's/exe), but unfortunately Andreas has stopped updating his tool for RS10.4 and later. So I am…
H.Hasenack
  • 1,094
  • 8
  • 27
8
votes
1 answer

Java Resource InputStream being closed?

I'm in the process of migrating our Java codebase from Java 7 (80) to Java 8 (162). (Yep... we're at the cutting edge of technology.) After the switchover, I've been having issues when loading XML resource files from deployed jars in a heavily…
amaidment
  • 6,942
  • 5
  • 52
  • 88
7
votes
1 answer

How can I read a compiled resource (.res) file in C#?

I've got a compiled resource file (.res). I need to read it, in C#, so that I can modify it programatically. note that this is not a .resx file or .rc file; the file is compiled, not text-based. So far I tried looking at LoadLibrary, LoadResource,…
Assaf Stone
  • 6,309
  • 1
  • 34
  • 43
7
votes
4 answers

How to use .net Resource files in javascript

is there anyway i can access my resource files (.resx) in javascript? if no then are there any workarounds to diplay messages in javascript in different languages?
scatman
  • 14,109
  • 22
  • 70
  • 93
7
votes
5 answers

How does one copy a dialog resource from one project to another in Visual Studio 6.0 or Embedded VC++ (eVC)?

I've got two branches of code. 1 has a dialog box that the other doesn't, but because of politics the dialog box wasn't moved into the newest branch. Now they want it in... So is it possible to copy a dialog box from one project to another. There…
baash05
  • 4,394
  • 11
  • 59
  • 97
6
votes
1 answer

How to add a resource file in visual studio

I want to add a resource file to my project in Visual Studio. But I am not able to find from where I can create the resource file. Can anyone help me out in this
appu
  • 93
  • 2
  • 2
  • 6
6
votes
2 answers

Bold Text in Html.FormatValue using Razor

I want to have the following result. Username has to be bold: Blabla Username Bla. I have the Format in a ressource file: Blabla {0} Bla. And in the view I do the following: @Html.FormatValue(User.Identity.Name, Resources.MyFormatString) How…
Claudio P
  • 2,133
  • 3
  • 25
  • 45
6
votes
1 answer

How to Get Version of an Executable file?

Salvete! I am writing a vb.net program to update the readme files for my applications. I want to extract the version number from other compiled applications. I want to read the version number from the executable, not from its uncompiled…
bgmCoder
  • 6,205
  • 8
  • 58
  • 105
6
votes
6 answers

asp.net: line break \n in resource .resx file does not work

The "\n" does not work in below code, it's just displayed as "\n" if (!window.confirm(XXXXX.Globalization.LocalResource.InvalidUrl)) { return false; } the string is "Invalid URL! \n Are you sure you want to continue?" in resource resx file. how…
Li Tian Gong
  • 393
  • 1
  • 6
  • 16
5
votes
4 answers

IntelliSense: cannot open source file "curl.h" in C++

I am unable to compile my C++ project. IntelliSense: cannot open source file "curl.h" in C++ I tried adding that file to the "Header Files" folder in Solution Explorer: no change. I was unable to add it to the "Source Files" folder. How can I fix…
user975017
  • 89
  • 1
  • 1
  • 3
5
votes
2 answers

Android Obfuscation for code as well as resources

Google recommends and packs in ProGuard for code obfuscation. However the default configuration that it comes with seems minimal and one can reverse engineer to certain extent. Most people looking to reverse engineer are not really looking for…
advantej
  • 20,155
  • 4
  • 34
  • 39
5
votes
2 answers

Changing where a resource is pulled during runtime?

I have a website that goes out to multiple clients. Sometimes a client will insist on minor changes. For reasons beyond my control, I have to comply no matter how minor the request. Usually this isn't a problem, I would just create a client specific…
Brandon
  • 68,708
  • 30
  • 194
  • 223
5
votes
0 answers

How can I resolve the "Invalid Resx file...Cannot find valid "resheader" tags for the ResX reader and writer type names." compiler error?

I'm getting a dozen "Invalid Resx file. ResX input is not valid. Cannot find valid "resheader" tags for the ResX reader and writer type names." err msgs on trying to compile. I had this problem before, as can be seen here. This time, though, it…
1
2
3
17 18