Questions tagged [resource-file]
47 questions
0
votes
1 answer
C++ Error when changing the cursor from a resource file
I'm trying to change the cursor of my mouse with a .cur file in a resource file.
When I'm try my code, I get this error:
Exception raised at 0x77EB7392 (ntdll.dll) in CleanResourceFiles.exe: 0xC0000005: Access Violation while reading location…

Lotcelan
- 1
- 1
0
votes
2 answers
How to Full Control (Read/Write) of custom resource resw file (Universal Windows)
How can I read/write Keys/Values on a custom Resource File (resw) (storing string and conditional resources) ?
I added Resource File(resw) for storing settings of app. And Then ?
private void button1_Click(object sender, RoutedEventArgs e)
{
…

Zen Of Kursat
- 2,672
- 1
- 31
- 47
0
votes
0 answers
Splitting Resource file (per namespace) in .net assembly?
Is it better having one .resx file with all messages (so that all the namespaces depends on it) or splitting into several files, one for namespace? What do you suggest?

Paul B.
- 36
- 4
0
votes
1 answer
Specify Culture Name for Resource File in Asp.NET MVC
when i try to create a resource file named Labels.resx it works fine and a Labels.designer.cs being created well, but when i try to create another resource file for a specific locale like Labels.en-US.resx the resource file gets corrupted and the…

Hooman Limouee
- 1,143
- 2
- 21
- 43
0
votes
0 answers
Get Resource file path C#
How can I get the path of the resource file at runtime?
You access the resource by it's name: Properties.Resources.Lily.
I need to get the path of the file with the resource name "Lily": ../Resources/file_name.extension

Tim
- 152
- 10
0
votes
1 answer
Trademark symbol in version-information resource
I'm modifying my Delphi projects to use a version-information resource file instead of storing version information within the project file.
My VersionInfo.rc file:
1 VERSIONINFO
FILEVERSION 1,10,0,999
PRODUCTVERSION 1,10,0,0
FILEOS 0x4
FILETYPE…

Michael S.
- 1,771
- 15
- 20
0
votes
1 answer
Resourse file (.resw) in UWP
I have Universal Class Library (.dll) to share between projects. In the dll I have several resources .resw files dll\rootFolder\Lang\ en.resw , fr.resw , jp.resw.
In my app I have button "Change Language" clicking on which I want change app…

MTuk
- 179
- 1
- 9
0
votes
1 answer
Extract strings from .res
i have many vb6 project with .res file with some strings in it.
I have to create another vb6 project for extract them.
i tried to use
hModule = LoadLibraryEx("c:\project\CGUO_SPESOMETRO.Res", _
0&,…

Luca Romagnoli
- 12,145
- 30
- 95
- 157
0
votes
1 answer
Aspx page retrieves resources from different .resx files?
I have a very strange problem using resource files.
I have an ASP.NET web application with a lot of aspx sites. I have generated local resource files for every aspx page and did copy/rename and then did translations. Now i have for instance page…

DarkoB
- 101
- 1
- 5
0
votes
1 answer
Open Resource File with FileStream fails
I want to open a Resource File with the FileStream Class. It's a text File and I want to read it Line by Line.
FileStream fs = new FileStream(Properties.Resources.Testing, FileMode.Open, FileAccess.Read);
The called Exception is…

Criska
- 89
- 1
- 8
0
votes
2 answers
Disappearing Resource Controls?
In my WPF application I have a ResourceDictionary with some Controls:
…

hbsrud
- 333
- 2
- 12
0
votes
1 answer
Update text in resource file dynamically - .net + jquery
I am working on a mvc application, there is a label for e.g. called "The count is 12 apples". Now I have to put the label in resource file, but the problem is that the no. 12 is dynamic and changes on selection of some other drop down using…

whyAto8
- 1,660
- 4
- 30
- 56
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…

Engin Bulanık
- 85
- 7
0
votes
2 answers
Standard way to keep debug lines in the program
I would like to add some debug lines to my program. Once after executing statements it will record the current status to a file.
I have done that in following way.
public int? DoWork(int x, int y)
{
Log.Write("Received inputs. X…

New Developer
- 3,245
- 10
- 41
- 78
0
votes
0 answers
MFC Em-dash and En-dash in CJK resource files
I have a MFC application that has translation to several languages, and I want to use the characters:
em-dash (—; Windows: Alt+0151; Unicode:\u2014)
en-dash (–; Windows: Alt+0150; Unicode:\u2013)
For the following languages, all go…

sergiol
- 4,122
- 4
- 47
- 81