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
0
votes
1 answer

Visual Studio 2010 insert copy of resource with condition disappears after save

In Visual Studio 2010 I am trying to make a copy of a dialog template resource with a condition in order to have two different versions of the dialog in two different build configurations. I have a header file that the .rc file includes which…
Tyler Woods
  • 106
  • 6
0
votes
3 answers

Win32 resource.hpp Why Such High Resource IDs?

I have been learning Win32 GUI programming today and I have come across a question I have not found the answer to. Why do resource.hpp files define resources with such high ID numbers? For instance, the tutorial I am following has 2 resources in…
TorbenC
  • 153
  • 1
  • 2
  • 9
0
votes
3 answers

Which type of resource file to use to store constants

I am developing an application that tests web Services, and I use JUnit parameterized tests. I want to read parameters from a resources file. I am wondering which is the best way to store these parameters. In a .properties file ? test1.inputPath=…
Mouna
  • 3,221
  • 3
  • 27
  • 38
0
votes
0 answers

WinRes.exe doesn't show DataGridView or MenuStrip

Our App will be translated by an external service/person, so I'm using WinRes.exe (Windows Resource Localization Editor) as a stand-alone localization editor for each Form. Much of it works fine, including my UserControls and overridden custom…
0
votes
2 answers

Perl Module Resource Files

Is there a way to easily package resource files with a Perl module? Right now, I'm using %INC to find the location of the module then loading my resource files, but I'm looking for a solution where Perl will automatically reference the correct path…
SArcher
  • 264
  • 1
  • 9
0
votes
0 answers

findresource without an application

I've written an c# Console application, and I want to take advantage of resources management (resx files in a project). Obviously, first the Current application need to be set, and I have none since it is a Console application. Does anyone have…
user2835602
0
votes
2 answers

How do I use DarkIcons.dll in a Windows Phone 8 app?

Building my first Windows Phone 8 app and I am bringing in a few icons to use in the appbar. As I am picking the icons in C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Icons\Dark I see that there is a file called DarkIcons.dll. Can I use…
Ryan Pedersen
  • 3,177
  • 27
  • 39
0
votes
1 answer

How can I find the multiple version info of binary (dll or exe) from code?

Some projects includes more than one version resource file, this ends up with binary which has more than one version info. When I open the binary with Visual Studio it is clearly seen that the binary has two different version info. What I want to…
0
votes
1 answer

Multilingual Approach in ASP.Net Application

I have Asp.net page which contains Labels. I want to implement Label as multilingual. I have 2 approaches(There may be more): 1: Use Text property as And Second…
Sandy
  • 6,285
  • 15
  • 65
  • 93
0
votes
1 answer

How to correctly add resources in a rc file

I'm working on a project I did not start and I added #define IDS_SELF_UPDATE_EXIT 266 and IDS_CONFIRM_EXIT "Are you sure you want to quit?" and I got the following error twice: error RC2135: file not found What am I doing…
GreatDane
  • 683
  • 1
  • 9
  • 31
0
votes
1 answer

values of diff keys to concatenate from a resource file, how?

I want to concatenate the values of two or more keys from a resource file, while assigning value to a control, something like
Narry
  • 1
  • 1
0
votes
2 answers

Localizing multiple .rc files in Visual Studio for Win32 Project

How do I go about localizing multiple .rc files in Visual studio for Win32 Projects? I have followed the tutorial here http://multilingualui.blogspot.co.uk/ which describes how to localize win32 Solution for 2 languages: English (United States) and…
0
votes
1 answer

C# WP8 Resource file string limit

I want to give the user the option to change language so I created two resource files, one for Portuguese and another for English (US). For the name field I'm giving it names like String1, String2, String3, etc... And in the value field I'm writing…
0
votes
1 answer

What is commonly stored in the "Other" section of resource files?

I was looking through a .NET resource file (i.e. a .resx file) and it is has a number of sections which make sense for common uses of a resource: Strings Images Icons (aren't these just images too?) Audio Files Other For the life…
Robert MacLean
  • 38,975
  • 25
  • 98
  • 152
0
votes
0 answers

Adding string replacements into Required attribute Error Messages

I have the follwing code [Required("SalesChannel", SeenSalesChannelString, ErrorMessageResourceType = typeof(ErrorMessages), ErrorMessageResourceName = ErrorMessagesErrors.FieldConditionallyRequired)] The field…
Sachin Kainth
  • 45,256
  • 81
  • 201
  • 304
1 2 3
17
18