resources

Modifying a string in resource of an exe

How do I modify buffer in following code then save the changes in resource of the executable? I'm looking for something like SetString(handle,index,buffer,size). var hExe : Cardinal; buffer : array [0..4097] of ansichar; begin hExe:=LoadLibraryEx(PAnsiChar(Edit2.Text),0,LOAD_LIBRARY_AS_DATAFILE); LoadString(hExe,65300,buffer,Siz...

RESTFful/Resource Oriented Design

Suppose I have a three level hierarchy consisting of school, students, and classes. If I expose student as a resource, my question is whether I should always return the parent "school" and the children "classes" along with that student, or whether there should be parm that the user includes to indicate such. Perhaps something like &de...

What are the best resources to follow what is going on IT Market in Europe?

Can you suggest any resources (magazines, web sties etc.) to follow current state of software development market in Europe? ...

How to read resource file from classpath in BlackBerry app?

Hi, I need to read a resource file from classpath in my BlackBerry application. The directory structure of my project is pretty common: under src directory there are 2 child dirs, one represents source packages root, another - resources root. When I try to read any resource from classpath Class.getResourceAsStream method retures null ...

How to effectively timeout a COM method call from C# code

I have had to set a fixed time out for a particular COM method call from a service that we have (which is written in C#). Not having used the System.Threading namespace for anything other than Thread.Sleep, I have had a play and have come up with a working prototype: bool _comCallSuccessful = false; bool _timedOut = false; private void...

How can I share a resource file between projects in Visual Studio?

Hi, I am using C# and how can I code to share a resource file between my projects in the same solution? Thank you. ...

Link to external texture file in self-contained XAML representing a 3D model.

I have a XAML file representing a 3D model with textures. I want to make the textures read from the same place the file is, or relative to it. I read the file using a XamlReader, so I want the file to be self-contained. I place the textures using an ImageBrush which ImageSource is a pack synatx URI. When I use a 'siteoforigin' syntax...

Is there any pattern for handling resource libraries?

Hi, Good morning! Is there any pattern (software design pattern) for loading images or message strings from resource files? -Pavan. ...

grails create a new resource bundle

Hi, I'd like to create another resource bundle to organize my Grails app. Grails provides a 'messages' resource bundle and I need to create a 'myApp' resource bundle. How can I create a new resource bundle and read its properties with the 'g:message' GSP tag ? Thanks a lot. ...

WPF Style.Trigger

Hi, Somebody can tell me why this trigger doesn't work: <!--Style--> <Style x:Key="Test" TargetType="{x:Type Expander}"> <Style.Triggers> <Trigger Property="IsEnabled" Value="false"> <Setter Property="IsExpanded" Value="false"></Setter> </Trigger> </Style.Trigg...

How to obtain the correct ResourceManager object

Im making a asp.net(2.0) website. I have defined two resource files in the App_GlobalResources folder 1) Website.ar.resx 2) Website.en.resx Im trying to obtain the ResourceManager programatically. Now, if I would have only defined Website.resx, VisualStudio automatically starts showing me a 'Resouces' namespace with the Class 'Websi...

ASP.NET website deployment best practices resource suggestions

I have looked through the related questions, and none of them have provided me the information I am looking for. Currently the team I work on does deployments of individual .aspx (and .aspx.vb) files for bug fixes/enhancments. I am trying to affect change, as I really believe that deploying the "whole compiled site" is less error prone...

OBEL resources and documentation?

I'm diving into some OBEL coding and only have one manual from the vendor. I was hoping to find more documentation, or websites out there with more information. OBEL is short for Object Embedded Language, and is a scripting language modeled off of Smalltalk. My information seems to show that it was created by Metso Automation in the 9...

App domain restarts when .resx file changes. Any way to avoid this?

I have an ASP.NET app with many .resx (resource) files used for localized user controls and pages. We would like these files to be editable on-the-fly. However, we have noticed that editing these files on the web server causes the app domain to reload, which causes the server to slow down for about a minute while the app domain restart...

Resource scheduling application

I'm trying to implement an application that coordinates multiple users who are scheduling exclusive resources. The schedule data must maintain strong consistency over a network with a single master node. The scheduled resources could be anything from a conference room to a worker on a job site. We assume the conference room cannot be sc...

How to replace the default ModelState error message in Asp.net MVC 2 ?

Hello, I need to replace the model state resource (to another language). I've seen some answers to the question above, but unfortunately I could'nt make it work. Any detailed answer or example would be appriciated. Thank you. ...

How to delete resource entry from resx in C# programmatically?

Hey, i know how to retrieve and create resource entries in an .resx file programmatically. I am using the ResourceWriter and the ResourceReader for that approach. But now i want to clean up several items in my .resx file, and want to delete them. How can i achieve that? Greetings chrsk ...

What are recommended books for Parallelization ?

Hi, From my previous posts, I come to know that today software industry is moving towards more and more of parallelization and I want to learn and understand more about this technology and what are some of the recommended books/resources for Parallelization ? Thanks. ...

WPF - Clearing only certain Resource Dictionaries

I am applying "themes" to my WPF app by clearing all merged dictionaries (Resources.MergedDictionaries.Clear()) and new ones based on the selected theme. Instead of clearing all dictionaries, I would like to clear only certain "theme-related" dictionaries, leaving others still loaded. How can I do that? I didn't find a way to differen...

Books on Pi-calculus

Hi everyone!!!!!!! What is a good book on Pi-calculus, which will give an idea of practical problems? Can you suggest some new technologies in Pi-calculus to learn? Thank you. ...