Questions tagged [application-resource]

A resource is any non-executable data that is logically deployed with an app.

.net:

Resource files are files that are part of an application but are not compiled, for example icon files or audio files. Since these files are not part of the compilation process, you can change them without having to recompile your binaries.

31 questions
0
votes
1 answer

Binding not working against application resource

I have an application in which I'd like to have a single instance of a collection of items that can be accessed by more than one view model, where each view model is associated with exactly one view. To accomplish this, I have put the collection…
0
votes
2 answers

How to fix ApplicationResources_fr.properties getting corrupted

I have a problem in a class I wrote. The purpose of the class is to add/remove/update for the applicationResource.properties files which the uses to provide bilingual support to the website. Manually interacting with…
Fering
  • 322
  • 2
  • 18
0
votes
1 answer

Access is denied for writing to ApplicationResources.properties file

For bilingual support in an application I am working on, we are using Spring messaging which uses two files, ApplicationResources.properties and ApplicationResources_fr.properties. This works well. Now I am trying to expand on this by making it a…
Fering
  • 322
  • 2
  • 18
0
votes
1 answer

Hierarchical data template trigger selected item property

I have created a static application resource for my TreeView style. I have a custom type as the hierarchical data template type, let's call it Foobar. The HierarchicalDataTemplate items source is bound to the Foobar's FooCollection. The custom…
0
votes
2 answers

UWP load style on adaptive trigger

Trying to learn a fair bit about s and I got stuck on a particular subject. I want my buttons edited in size and alignment using a pre made style I have. An example: The…
0
votes
1 answer

How can I find my application's icon?

I am trying to load the icon associated with the application that called my function. The way I am solving the problem for GUI applications is this: AfxGetApp()->LoadIcon(128); // 128 is the IDR_MAINFRAME icon However, the Afx functions, upon…
xtofl
  • 40,723
  • 12
  • 105
  • 192
0
votes
1 answer

How to reference an app resource in a xaml Window?

I've added a reference to an app resource in my View's window. But when I declare the resource I get the error: Error 10 RegexValidationRule is not supported in a Windows Presentation Foundation (WPF) project. This is how I added the resource…
Brian Var
  • 6,029
  • 25
  • 114
  • 212
0
votes
0 answers

is applicationresources.properties file is common for all versions of Google app engine project like crons do?

I know that the cron is common for all the versions of an google app engine application, but is applicationresources.properties file also common for all the version. I mean if i change the applicationresources.properties file and then deploy to…
Karthik Amar
  • 217
  • 5
  • 17
0
votes
0 answers

Inject property and values to ApplicationResources.properties at runtime in Struts

We have a requirement where we have to internationalize the struts application based on the logged in user. Now the catch is, though the user may be from a different country with its own language, but still the user may use English as his preferred…
Tatha
  • 1,253
  • 2
  • 24
  • 42
0
votes
1 answer

Java application not work in folder with spaces

I am observing the following problem. I create a java application and put all files (runnable jar file + jar to exe + other files and folders into a folder "adim" and place it in D drive (D:\adim). When I run the application it finds the license.lic…
dar189901
  • 11
  • 1
  • 4
0
votes
2 answers

List in Resource.XAML and access in ViewModel

how to create a list in resources.xaml ( I will use it as itemsource for my listbox) and how can I access it in ViewModel? Thanks
JennyJane
  • 125
  • 6
  • 21
0
votes
1 answer

Dynamically add Applicationbar in Application.Resources

Could anybody tell me how to do the following dynamically. I have refered many sites. but nothing helped me.
Ponmalar
  • 6,871
  • 10
  • 50
  • 80
0
votes
1 answer

Update data documents for JWS deployed app

I have a swing application that uses many data files, these data files will change time to time. How can I load these data files on client's machine? Is there any way to create a folder like structure and run a batch file or so? Any help is…
Bala
  • 1,295
  • 1
  • 12
  • 23
0
votes
1 answer

JPA - persistence.xml out of jar-file

Can I put my persistence.xml in any folder on my hard-drive and can access to it with my Java SE application? Is there any solutions for my problem?
George Krause
  • 59
  • 1
  • 3
  • 11
0
votes
1 answer

'Cannot locate resource' exception when changed from debug to release build

I have a solution with a wpf application and a library which the application depends on. Application invokes a method on the library(with assembly name Serialization) which in turn loads an image with code const string adornerImageUri =…
Alp
  • 553
  • 11
  • 30