Blog

The String Resource Tool

Do you use the ResourceManager to pull strings from embedded resource files (.resx)? This technique is a good way to store string values for localization or centralization of common strings. Here is a code snippet: ResourceManager rm = new ResourceManager(“ResourceTest.strings”, Assembly.GetExecutingAssembly()); Console.WriteLine(rm.GetString(“accountNotFoundMsg”)); The two lines above assume that there is a strings.resx file in the project that has a named string of “accountNotFoundMsg”. When the second line runs the resource manager extracts the value of the accountNotFoundMsg from the embedded resource and writes it to the console.

CTP Madness

I heard about this last night at Nino’s presentation: Channel 9 has a page dedicated to showing what CTPs and Betas work with each other: CTPMadness. Given my previous Indigo woes, this type of information is great! It’s all based on an XML file that they update with new versions of CTPs and betas and then links which ones work with what. Pretty slick.

Looking for USB web cam suggestions

I’m looking for suggestions for a good USB webcam. My criteria: USB 2.0 Good framerate. Very portable as it will be going with me on trips, etc. BUS powered is a must. Still picture capability nice, but not necessary. Embedded microphone nice, but not necessary. Face tracking software nice, but not necessary. Any thoughts?