resources

Rhinomocks, has anybody used and good resource for it

We are developing our new application in .Net 3.5 and we have started using Rhinomock. I know it's used for mocking but I don't have good resource for it. Can anyone suggest me any good resource/link/tutorial for the it? Thanks in advance... ...

How Do Open Source Projects Find Designers/Artists?

I've been working on a casino game as a way to learn XNA and I'd like to publish it to an open source host. The back end is coming along rather nicely, but I'm absolutely NOT artistically inclined, whatsoever --I know of no developers that are. I'm obviously not looking to make money off of this project, so offering to pay somebody for t...

(Java) Good Libraries and What they are.

Lets compile a list of 3rd party java libraries that we like and/or find useful. I will post my choices as a reply ...

How to animate a resource in XAML?

In an XAML document, I have a gradient brush as a resource and a bunch of shapes that use this resource. I would like to animate the brush using a storyboard, but I don't know how to set the brush in resources as the target of storyboard. Simply using its name does not work, {StaticResource name} does not work either. Is it even possible...

Howto embed images in Actionscript 3 / Flex 3 the right way?

I'm creating a game where a lot of images are being used in Actionscript / Flex 3 (Flash). Now that I've reached the designer stage, I have to work out a structural way of using embedded images (which have to be manipulated with rotation, color, etc.). Unfortunately, after investigating a bit, it looks like you have to manually embed im...

Creating a CroppedBitmap at runtime - won't load from resource

I'm trying to write code that will load an image from a resource, and then crop it. This code works when I do all, or part, of it in XAML. I want to switch from all-XAML to all-code, so I can reuse this more than one place, with different Uris. But when I try to do the same thing in code, I get a DirectoryNotFoundException, because sudd...

When is a C++ terminate handler the Right Thing(TM)?

The C++ standard provides the std::set_terminate function which lets you specify what function std::terminate should actually call. std::terminate should only get called in dire circumstances, and sure enough the situations the standard describes for when it's called are dire (e.g. an uncaught exception). When std::terminate does get cal...

What's the recommended way to store images used as icons for a WPF application?

I am creating a pretty standard business application in WPF. I need to use icons for the toolbars and menu items, and in a few other places. I'd like to know the answers to three (likely interrelated) things: What format should I use for the images? ICO? PNG? JPG? GIF? How do I store the images in my VS2008 project? As files on disk? I...

OS; resources automatically clean up

From this answer: http://stackoverflow.com/questions/1058797/when-is-a-c-terminate-handler-the-right-thingtm/1058894#1058894 It would be nice to have a list of resources that 'are' and 'are not' automatically cleaned up by the OS when an application quits. In your answer it would be nice if you can specify the OS/resource and preferably...

Embedding multiple, identically named resource (RC) files in a native DLL

Hi all, For my application (an MMC snap-in) I need to create a single native DLL containing strings that are localized into different languages. In other words, if you were to inspect this DLL with Visual Studio, you would see multiple string tables, each associated with a different locale but containing the same string IDs. The approa...

Property file in java

Hi, I want read property file in my java class. for this i have written: try { Properties property = new Properties(); property .load(new FileInputStream("abc.properties")); String string = property.getProperty("userName"); } catch (Exception e) { e.printStackTrace(); } ...

WatiN - Which resource contains Attribute [TestMethod] or [Test]?

I am just beginning WatiN and in a lot of blogs I see attributes like [TestMethod] or simply [Test] used. For Example: MSForge Blog Post etc. etc. but when I attempt: using System; using System.Collections.Generic; using System.Linq; using System.Text; using WatiN.Core; using WatiN.Core.UnitTests; using WatiN.Core.Constraints; usi...

Audio processing - where would I start in terms of books and learning.

I've only just started learning Objective-C but am interested in audio processing and editing software and would like to know where to find information on where to start. It's early days yet so I'm just looking for inspiration. ...

Android: How to release resources when the application terminates?

Hi, I created an application which uses camera and during the appplication execution the screen is always on. In the onCreate() method I added the lock: final PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); this.mWakeLock = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "My Tag"); this.mWakeLock.acquire();...

XML comments in Resources.Designer.cs?

In my Visual Studio 2008 project, I have this project with Resources.resx which contains images and strings. In order to force myself and everyone else to write at least the XML comments, I enabled the generation of XML comments in the build tab of the project's property. Now Visual Studio gives me some warnings if there are undocumented...

Live video broadcast and server resources using RED5

how much ram do i need to run a server with red5 and broadcast live video I am starting a project that will include live video broadcasts from all over the world and it is expected to have at least 1000 users viewing those videos in real time. After looking around a bit i have decided to use RED5 to handle all the video streaming/recor...

How can i select a Resources from MergedDictionaries

To begin i read all resources from xml in my MergedDictionaries and now I like "select" any Resources as Current.Resources PSEUDOCODE: Application.Current.Resources = Resources.From.MergedDictionaries.Selected(themeId.Path); Any Idea? ...

Resources to get started with IPv4/IPv6 basics and development

I'm looking for resources and book which one can use to get started with IPv4 and IPv6 network development. The most relevant book I've came up so far is "Unix Network Programming, Volume 1: The Sockets Networking API (3rd Edition)" which covers both protocols but apart from that I did not find very much. The information I'm looking fo...

Internationalization and C# method attributes?

I'm working on some SharePoint web parts and I'm trying to make them as locale-independent as possible. I've got all most text in resource files, and I'm looking at the attributes on my Web Part: [WebBrowsable(true), Category("My Category"), WebDisplayName("Display Name here"), WebDescription("Tells you all about it"), Personalizable(Pe...

HttpContext.GetGlobalResourceObject always returns null.

Hi folks! I created two files in the App_GlobalResources folder: SiteResources.en-US.resx SiteResources.sp-SP.resx Both contain a value for "SiteTitleSeparator". Here is what I am trying to do (The following line always returns null): string sep = (string)GetGlobalResourceObject("SiteResources", "SiteTitle"); Note, that the Cultu...