Hi,
I have many resource files, in many different languages.
Lets suppose for example we are supporting 3 languages (en, de, fr), and have this file:
common.resx
common.de.resx
common.fr.resx
I would like to detect occurrences when for instance a resource is requested in de, but is missing and so reverts to the default language. Is t...
Hi all,
I have a big ASP.NET project full of hard coded strings, that now have to be extracted to resources. Such strings can be found almost anywhere (in .cs files, .aspx files, .ascx files, etc.) and the amount of files is huge. What I'm looking for is a tool (or any way) to find all these hard coded strings in one shot and put them al...
Hi, I am developing a WPF application, and I have created a user control called ViewIconUC. This control lives in an assembly (MyControlAssemblyUI). I can instantiate the control in a ZAML page within this control, and I get no errors (I even attached the dugger to Blend to check), and I can see the button background I set in the control...
We have a small wrapper class that uses ResourceManager to load string resources from assemblies.
We also have some unit tests that check it loads the correct details from the correct assemblies for different cultures, assemblies etc. Our tests are therefore currently dependant upon resources we have constructed for the test.
Is the...
I'm about to start writing a tool in .NET 2.0 (C#), and the tool needs to be re-brandable to be sold for use by other companies. We'll compile the tool in house, with other company's resources, so they don't get the source, just the generated output.
Since the re-branding will use the same default language, how do you manage multiple r...
I've used .resx files in the past to store text files and other things - queries for example. It works great because I can say Resources.Queries.BlahQuery. (Yes, I know we should probably used stored procedures, but that's another story...)
I'll never be doing any localization on these resources.
Is this a bad idea? Am I misusing .NET ...
I am able to successfully add a resource to a file using UpdateResource and then remove it using: UpdateResource(HANDLE, "TYPE", "NUMER", 1033, IntPtr.Zero, 0);
When I add a resource to the file it will add another even though there is an existing resource exactly the same, also I cannot remove any existing resources. When I try to remov...
Hi,
There are several custom-made graphic objects (.png files) included in the project inside res/drawable map.
All elements are normally loaded and displayed in the user interface except two icons and so far haven't figured out what causes the problem.
The code which doesn't affect the user interface as it should is the following:
i...
How do you get access to the Resource Provider for the current context?
I have a web page that allows a client to edit their Globalization values which are stored in SQL.
However pages still utilize the cached values until the app domain is freed.
How can I force clear/reset the provider and or get access to it to clear its cache.
Th...
I am considering implementing OpenID on my website and I am having a hard time finding good resources for OpenID implementation in php. So far I have only found RPX but I don't want to depend on third party vendors. I want something similar to SO , can anyone point me in the right direction and can you also tell approximately how much ti...
I don't know RC scripts.
I want to include Product version, File version, etc. metadata into a DLL I'm building. I'm using an .rc file to do that. The build is makefile driven. I'm following along with an example .rc scrpit I found.
The template .rc file includes afxres.h , but I don't think I need that. But if I just remove it I ...
Hello,
I'm thinking in create a framework, a little project with my friends, just to loose some time trying to build something, but we don't know where and how to start, then we are needing to know two things:
Which languages is possible to do this?
Where we can found some resources to begin(tutorials, sources...)?
All types of help...
Hello,
I'm a new REST convert and I'm trying to design my first RESTful (hopefully) api and here is my question about addressing resources
Some notes first:
The data described here are 3d render
jobs
A user (graphics company) has multiple projects.
A project has multiple render jobs.
A render job has multiple frames.
There is a hier...
Hi Everyone,
I am simply looking for a good tutorial that will walk me through how to create a SOM in R. I am reading Kohonen and Kaski's paper on using the maps to identify the structure of Welfare, and want to try the technique my self.
I think many of the examples in R have a lot to be desired. I have looked on the web and didn't ...
I am trying out lua script with C++ in Mac OS X. I was finding a way to make the program returning the current working directory. That's no problem with getcwd, but then I came one thing:
My foo.lua stays at its initial path only. When I compile program, it is not being copied over to the build/Debug directory. Sure, I can grab my scrip...
What are some of the very good online resources/books/pod casts/tutorials/blogs/articles etc for learning and understanding different areas of Enterprise Portal Development ?
...
I have the following situation assume i have to display the data in the follwing format.
I am 20 years old . i need the number 20 to be in bold.
I'm fetching this string from resoucre file like this
string.Format(HttpContext.GetGlobalResourceObject("ResourceFile","Key"),age);
should i consider adding the tags <b> and </b>
in the...
I'm writing an app that has a "wizard" type input section. Think MS Windows Installers.
I'm having a hard time figuring out how the most RESTful way to do this with rails. I can make it happen in a non-restful way (already did for version 1 of the app), but I'm trying to be a little more idiomatic this time around.
Here's the situati...
Hi everyone,
I'm developing a project with Struts and I was wondering if it's possible to get the message resources object in a servlet, which is included in the same project.
There's no possibility to get that object with the method getResources(HTTPServletRequest) because the servlet does not extends an Action class. Is there a way t...
Hi,
I'm extending the available WPF's TreeView control.
I wish to add to it CheckBox behavior like Josh Smith has suggested.
My goal is to encapsulate all checkbox behavior concerns from the end user (which is a different approach of what josh Smith has done).
I would like to use a style for the TreeViewItem in order to add some prope...