resources

Do this in C# code instead of template XAML

Is there a way to make column of cells in a Silverlight datagrid be readonly in editmode with C# code instead of setting up a entire datagrid as a template in a resource file? UPDATE Found an example piece of code - http://forums.silverlight.net/forums/p/17483/58189.aspx In the response by slhungry midway into the thread. He has examp...

Save text and link in asp.net mvc resource file - resource.aspx.resx

i have a sentence with html. action link: <b>Please enter your username and password. <%= Html.ActionLink("Register", "Register", null, new { @id = "logOnLinkRegister" })%> if you don't have an account. </b> how can i save it in resource.aspx.resx file? it is in the asp.net mvc web project. ...

What resources did you find useful to understand Dependency Injection?

What book, blog, articles, webcast... did you find useful and relevant in order to quickly grasp Dependency Injection and understand how to use it effectively ? ...

Are programming books still relevant?

Possible Duplicates: When to Throw Out Old Programming Books? Are programming books a necessity nowadays Do programmers read books? Or is the book industry dead? I was wondering what people think about this. I have a good couple of feet of reference books which I keep at work, with the hope that other developers may pick t...

silverlight resource incompatibility with VS designer?

I have the following defined at the top of my XAML: <controls:ChildWindow x:Class="MyProject.SilverlightUI.Views.CharacterGenerator" xmlns:my="clr-namespace:MyProject.SilverlightUI.ViewModels" > <controls:ChildWindow.Resources> <my:AlignmentsViewModel x:Key="AlignmentsVM" ></my:AlignmentsViewModel> <CollectionViewSourc...

Managing strongly typed .resx resources

Hi everyone, I added .resx files to my project and everything works ok. I can access my .resx files in the code by typing ApplicationName.resourcename which is quite nice, instead of calling resourceManager.getString(blabla). However I would like to have a structure, to access resources like: ApplicationName.Resources.Buttons.btnreso...

.NET: Get Resources by Reflection

How do I get all th resources dynamically from my current assembly? I have tried two methods, GetManifestResourceNames and GetResourceSet with no success. I am comfortable with solutions in VB.net or C#. First Method This first method only returns an array of length 1 with this value "MyNameSpace.Resources.resource". The problem is tha...

how to take the text in an array which come from a resource ?

this is a part of my code : public void onItemClick(AdapterView<?> parent, View v, int position, long id) { TextView title_t = new TextView(this); title_t.setText(""); String title = title_t.getText().toString(); switch(position){ case 0 : new AlertDialog.Builder(this).setTitle(title).setMessage("blah blah").setNeutralButt...

Best resources for learning Wicket?

I'm looking to learn Apache Wicket. What resources would you recommend for someone with plenty of Java and web development experience (but ~zero experience with Wicket or similar frameworks)? Found 3 book options: Pro Wicket (September 2006) dated, and looking at Amazon, not really worth it Enjoying Web Development with Wicket (June 2...

Adding new icon into the resource-Visual studio

I have an icon named XX.ico. I want to add it in the project x. How do i achieve it. If i right click on the project resource, it gives me option add icon,when i do so,one new icon is added which is allowing me to edit the image. But i want to place my XX.ico in that resource.how do i do it ?please help... ...

Android - How to download an image and use it as new resource ?

I want to download image from distant server and use it as resource. Is it possible ? How can I do this ? ...

In Ant, how can I import a properties file relative to the declaring build file

Hi all, I have my main build.xml which imports a common-build.xml from a shared directory. The common-build.xml imports a build.properties which is located in the same directory. At the moment I have to use a common.dir property which is set by the calling build.xml. If I just do <property file="build.properties"/> Then it load...

Help analysing a process before it crashes and consumes all resources on a box

Hi guys, One of the servers I'm working on regularly crashes/freezes and consumes ALL resources on the box. It will continue doing this until the process is killed (difficult to run manually since the box has no resources to allow me even to enter a command) or the box is manually rebooted. I'm not very experienced in unix OSes - can y...

RESTful concerns

I have question regarding RESTful resources similar to this other question. We're also developing an iphone app that will access the REST services but one of the concerns is that the first screen makes a few calls to the service and that it should be just one (A dto of the resources). I'm trying to keep the service as RESTful as possib...

How to convert PHP array into Mysql resource

I have the following scenario. I must run a query and then save it to memory, and if I need the same result again to obtain it from memory. Storing and reading from memory is made with memcache. The problem is that if you hold information in an array one at a time just have to treat two cases: 1 for resource type and one for array type....

Load Resources ".resx" from folder in Silverlight.

I have a multilanguage application and customer wants to edit Resources.resx files like he wants. I created silverlight project and add some files: Resources.resx Resources.en-US.resx1. Resources.uk-UA.resx2. They all have build action "Embedded Resource" Everything is working but Those files are embeded to XAP file. And customer...

how to inject resource with guice

I have a class, being injected by guice and this class constructor invokes super, with resource loaded by class.getResource(..) @SuppressWarnings("serial") public class CleanAction extends AbstractAction { private final JTable table; private final PowderTableModel tableModel; @Inject public CleanAction(@Named("data") J...

Using Resources in NavBarLink Url property

Hi Everybody, I'm creating a site definition for sharepoint 2010. I have a problem with the Url Property of the NavBarLink. <NavBar Name="$Resources:SOR,RootSiteDef_Nav_Report;" Url="$Resources:core,lists_Folder;/$Resources:SOR,RootSiteDef_Nav_Report;/" ID="1006"> <NavBarLink Name="$Resources:SOR,RootSiteDef_Nav_Report_ByOwnerAn...

iPhone .string files

Can someone explain to me how .string files can be used in iPhone SDK similar to how .plist files can be converted into NSDictionaries? Edit: I want to be able to use it like this: NSDictionary *dict = [[NSDictionary alloc] initWithContentsOfFile:@"dict.plist"]; NS???? *strings = [[NS???? alloc] initWithContentsOfFile:@"Strings.strin...

From nmake: "no rule to make target `*.rc'"

I am in the process of trying to build putty tray, a variant of putty, from source on a Windows 7 system. I need to build it, not just download it, because I need to implement some additional functionality. I'm using nmake and (shouldn't be relevant) the Microsoft C++ compiler. To be precise, I'm working in a cmd window, I'm in the WINDO...