resources

Resources distribution to IIS processes and standard windows applications

We have a server machine with very good configuration on our LAN 4 GB of RAM 1 TB HDD Quad Processor We can have 2 types of application running on the server ASP.NET web application running under the IIS supervision Standard windows application running with administraive account. My question is how the resources are distributed b...

Sharepoint SiteTemplate-declared resources aren't displaying

Hi We have a deployment where amongst other things we programmatically create new Sites within Sharepoint. The site will utilise multiple resource files. The problem I'm having is that some of the resource fields on the page display the resource expression (i.e. $Resource:) rather than the value. All come from the same resx file; but ...

Making android development less resource heavy!

I have a dell studio 15 laptop with 2.2Ghz dual core processor and 4 GB ram running Vista. I recently downloaded the whole android development goodness and I find that my machine slows down considerably (its not the best machine money can buy but it should be fast enough for development). Things that I have noticed: - Running the emulat...

wpf image resources and changing image in wpf control at runtime

I would like to know exactly how to dynamically use a Dictionary Resource in the C# code behind - ie.. I would like to load images at runtime from an image resource within a dictionary I have a program that has 3 images in a WPF Dictionary - these are images set as image resources. Then in the code behind of my WPF Window I want to loa...

Use ASP.NET Resource strings from within javascript files

How would one get resx resource strings into javascript code stored in a .js file? If your javascript is in a script block in the markup, you can use this syntax: <%$Resources:Resource, FieldName %> and it will parse the resource value in as it renders the page... Unfortunately, that will only be parsed if the javascript appears in...

How to get a path to a resource in a Java JAR file

I am trying to get a path to a Resource but I have had no luck. This works (both in IDE and with the JAR) but this way I can't get a path to a file, only the file contents: ClassLoader classLoader = getClass().getClassLoader(); printInputStream(classLoader.getResourceAsStream("config/netclient.p")); If i do this: ClassLoader class...

Re-learn modern C++ resources?

I haven't touch C++ in more then 8 years. I recently had to do fix some C++ code, and although I still can code, I feel like I no more belongs to the camp of C++ programmers. I don't know any libraries, didn't pay attention to the new language features / improvements / best practices. Qt Creator and Qt seems like a nice toolset for what...

Good resources for agile development

What are good resources for agile development. Books, blogs, links ... will be great ...

asp.net MVC - how to get complete local and global resources

I'm localizing application and need to provide JSON representation of local and global resources for JS part of application for all views. My current idea is I'd implement HtmlHelper extension methods like GetLocalResourcesJSON/GetGlobalResourcesJSON which should encode all resource keys+values and return them JSON encoded as string (I'd...

How to retrieve a text file from the resource file in C# VS.2005

I have a html template that I want to retrieve from the resources file in a VS 2005 C# windows form application. I've created a folder called /html/ within the project, which has one file in it called template.html. I've added the file to my resources. I see its name just as template, and it's filepath is the fully qualified filename (...

Resource File and MissingManifestResourceFileException

Hi, I have problem to make work a resource file. This is my simple code : ResourceManager rm = new ResourceManager("RessourceFile", Assembly.GetExecutingAssembly()); string header = rm.GetString("EmailHeader"); And this is the error : MissingManifestResourceFileException Could not find any resources appropr...

Good Resources for Teradata & Business Objects?

Can any one suggest good resources and practice exercises for Teradata and Business Objects and their combination. I have no idea on where to start..I am aware of SQL, database concepts and programming languages like c, php, c++, C#. I need to learn teradata, BO practically. I need to develop applications for reporting data from Teradata...

Help understanding relationship of Resources/Styles/XAML files in Silverlight

I'm new to Silverlight and I wanted to accomplish a relatively simple task:    Create a "panel" control that would display a heading and some child content. I was able to get this work to a degree, but the placement of the XAML really confuses me. On my page I use my control. This results in my panel being shown with a button in the ch...

Why does visual studio 2005 split stringtables apart when saving/creating .rc files?

Whether I'm loading an existing .rc file or creating a new one, visual studio has this odd tendency to split tring tables apart. I haven't really figured out if there is a pattern to it, though I've noticed it seems to have a tendency to start at ids divisible by powers of two where possible. Since the resource compiler doesn't actuall...

Workspace is closed exception when trying to get the workspace through ResourcesPlugin

I get this error: java.lang.IllegalStateException: Workspace is closed. at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:339) The code generating it is this: IWorkspace ws = ResourcesPlugin.getWorkspace(); Can you please help with this problem? ...

Should we store format strings in resources?

For the project that I'm currently on, I have to deliver specially formatted strings to a 3rd party service for processing. And so I'm building up the strings like so: string someString = string.Format("{0}{1}{2}: Some message. Some percentage: {3}%", token1, token2, token3, number); Rather then hardcode the string, I was thinking of ...

How to translate and modify map.resources :document

map.resources :document After adding this route, I now have an automatic "edit_document_path". I wanted to change this to "annotate_document_path"? Will it automatically pick this up if I add a new view and controller method? How does it translate from the resource route to these "path" notations? ...

What is the best strategy for grouping resources in a .NET application

Where should resource files go and at what granularity (application/assembly/namespace/class/...)? Using a layered architecture one can split an applications into separate dedicated assemblies. An advantage is that it is easier to manage dependencies and ensure that code does not get entwined. During application wide refactoring, piec...

Useful and unuseful real life development techniques.

I work on a medium/large company that follows what I think are some good practices for development, maybe not the best ones but good enough. We've some development resource that get implemented on the basis of "do, test, if it useful the use, else throw away". I've found that most of the so called best practices are, sometimes, ideally ...

WPF Image External Resource

I have a custom control library with a resouce dictionary that references an image in the same custom control library. I then have a WPF application with a refernce to the custom control library which contains a resouce dictionary with a style the utilizes the image. When I try to use the style from the external resouce I get an error ...