resources

Finding free individual note sounds for procedural music

If you want to make procedural music, generally you're going to need individual note sounds (for whatever instrument) which you can string together. Is there somewhere i can get these for free, preferably usable for commercial purposes? ...

UIImage not being loaded but file is there.

Hey guys, I can't seem to load an image, but I'm sure it is at the path I specify. Here is the code that tries to load the image: - (UIImage*) CPPlistImageToUIImage: (NSString *) CPPlistImage { /*TODO: Is this a memory leak? Find out*/ UIImage * ret = [UIImage imageNamed: CPPlistImage]; if(ret == nil){ RDLogString(@"W...

C#: How to get a resource string from a certain culture

I have a resource assembly with translated texts in various languages. Project kind of looks like this: FooBar.resx FooBar.nb-NO.resx FooBar.sv-SE.resx ... I can get the texts using static properties like this: var value = FooBar.Hello; Or by using reflection like this: var value = resourceAssembly .GetType("Namespace.FooBa...

Moving from VB.Net to C#

I'm seriously considering moving from VB.Net to C#. If you made the jump to C# from vb.net, then what were the best resources you used to learn the language going from novice to pro? Thanks ...

iphone: cross platform references and referencing external framework resources

hi there working on an iphone app and separate framework. the separate framework is for an API that i'm building for use in multiple future apps. this api now needs to reference resources (images). what i would like to do is keep the resources WITH the API framework as local set of resources. i followed the instructions from http:/...

Resrouce consumption in WPF

Hello, I'm looking at WPF to develop the front-end of a proposed application where I work and really I'm here just looking for other peoples experiences of how memory intensive WPF applications are in general? I've tried a few openly avaliable applications and to me they seem pretty memory intensive, so what are your experiences, with ...

Serve JSP stored in DB

Hi, I want to server a JSP page that is stored in a database as a blob. So if a request comes in at the url http://mydomain.com/app/list.jsp I know to go to the DB to retrieve the resource list.jsp. I am using spring and tiles, so have adispatcher servlet and controllers set up and working in traditional sense. Would this be similar in...

WinForms strings in resource files, wired up in designer

I'm trying to localise a WinForms app for multiple languages. I'm trying to find a way to set my form labels/buttons text properties to read from the resources file in the designer (rather than having to maintain a chunk of code that sets them programatically). I've found I can set form.Localizable=true, but then the resources are read ...

Intro To x86 Assembly With Windows

There's a chapter in Robbins' Debugging Microsoft Windows Applications where he discusses the assembly code created for Windows apps. This is a community wiki question--please post links to other books, websites, blogs, articles etc. which discuss the x86 assembly code generated by Windows. I'm looking for a little more in-depth discus...

DataAnnotation with custom ResourceProvider

Hi, I have created a custom ResourceProvider to pull localization information from a database. I now want to use DataAnnotation to add validation to the model. DataAnnotation has ErrorMessageResourceType and ErrorMessageResourceName properties but ErrorMessageResourceType only accepts System.Type (ie a compiled resource file) Is there...

Eclipse indexer implementation

I'd like to implement eclipse plugin, which parses .properties files and remembers keys from these files for quick-searching them. It should work similar to Open Type or Open Resource, but with property keys. I don't know what is best practice for implementing such plugin. Should it work as an builder? Should it register itself for work...

How to get instance ID with PHP

I'm looking for a way to get the instance ID of a given object / resource with PHP, the same way var_dump() does: var_dump(curl_init()); // resource #1 of type curl var_dump(curl_init()); // resource #2 of type curl How can I get the instance count without calling var_dump()? Is it possible? ...

Copy App_GlobalResources on deployment

Hello, I have an ASP.NET web application which was previously published using the Publish feature of VS2008. Recently I switched to "Web Deployment Projects" for VS2008. When deploying I noticed that the ~/App_GlobalResources directory is not copied to the release folder on build anymore. How can I make sure the App_GlobalResources di...

Using an embedded DLL?

Is there any detailed guide on how to use a resource embedded dll within a c# source? All the guides I find on Google don't seem to help much. It's all "make a new class" or "ILMerge" this and ".NETZ" that. But I'm not sure on how to use the ILMerge and .NETZ stuff, and the guides on classes leave out what to do after making the class fi...

Any good resource (non-people) management libraries?

As our automated test infrastructure grows, we have a need to automatically manage the test resources (servers, etc). Not manage updates to the systems but have an automatic (programmatic) way to reserve resources for use in the automated test runs and release resources when finished. I need to be able to to add items to the system, stor...

WPF Resources TargetType

Hi, I am trying to make resources for setting the Text ForeColor by doing the following in a Resources.xaml file <SolidColorBrush x:Key="windowsTextForeColor"></SolidColorBrush> <SolidColorBrush x:Key="windowTextBackColor"></SolidColorBrush> <Style TargetType="{x:Type TextBlock}"> <Setter Property="Background" Value="{DynamicResou...

Are there any programming textbooks directly based on David Parnas' concepts?

Some great books (like Object-Oriented Analysis and Design with Applications) cite Parnas' papers, some (like Implementation Patterns) mention them in the bibliography. I know modern OO-ness was much inspired by Parnas' works, but are there books that essentially teach Parnas' concepts(*) as a method using modern notation, programming l...

Best way to manage images within windows forms application

I have a windows forms applicaton that stores several small icons as resources for the application. I have been using the select resource screen within Visual Studio which gives you the option of using a Local Resource or a Project resource. Obviously the project resource method provides a way to use the same image multiple times which...

Load resource from JAR without accessing ClassLoader?

Is there a simple way to load resource from my own executing JAR as InputStream without accessing ClassLoader? The problem is that my java.policy restricts accessing ClassLoader (this cannot be changed). I want to load some xml config which I can put anywhere in my JAR, but cannot have it outside the JAR. Thank you for answers. Actually...

Storing resources into "sub-bundle" ?

Hi, I'd like to know if it is possible to store resources data into "sub-bundles" or "sub-packages" that I could put into my main AppBundle. Indeed, I'd like to create a kind of player that reads "content packages", which are all organized the same way, with a standard hierarchical organization : Package1: - index.txt - credits.txt - ...