resources

Open-source training class/room/instructor resource management software?

We're looking to replace an internal system used for managing training classes with something a bit more robust. Needs to be open-source or have a license level that grants access to source, and needs to be ASP.net (C# preferred, but could live with VB.net) Ultimately, we'll need to be able to assign facilities and instructors, manage a...

Restlet: Log Stack Trace for All 500 Errors

I'd like my Restlet application to log the stack trace for any Resource that generates a 500-series HTTP error (using the Context's Logger). As far as I can tell, this is not the default behavior. In other words, I don't want my Resource classes to have any logger code at all in the represent and acceptRepresentation methods - they just...

Strange behaviour of code in WPF (rendering issue)

I a WPF application I have the following event-handler of a button-click in a code-behind file of a window: private void AddNewRecBtn_Click(object sender, RoutedEventArgs e) { DimRec.Visibility = System.Windows.Visibility.Visible; PrBarLayer.Visibility = System.Windows.Visibility.Visible; try ...

My.Resources in Class Library not behaving as expected when deployed

ASP.NET application w/CSLA framework; Visual Studio 2008 I have a class library of business objects. I am storing the broken rules strings in the Resource file associated with the project (My Projects > Resources.resx). I added a new resx file to the project and named it Resources.fr-CA.resx to store the french language equivalents of t...

What's an easy way to edit 256+ color toolbar resources in VS2008?

When I go to edit a toolbar resource in VS2008, it converts it to a 16color (4-bit) bitmap. WTF? What do you use to edit toolbars that doesn't suck? You've got to be kidding me... surely there is an add-on or a plug-in to the VS2008 resource editor to make it work correctly with high color bitmaps? This just seems insane. How are al...

MonoTouch: using embedded resx files on iPhone build

I'm able to load and access resx files in Simulator builds of my iPhone app built using MonoTouch. The resx file entry in the csproj file looks like: <ItemGroup> <EmbeddedResource Include="MapMenu\Resources\MapMenu.resx"> <Generator>ResXFileCodeGenerator</Generator> <LastGenOutput>MapMenu.Designer.cs</LastGenOutput> ...

Is there a good source for Lambda brain teasers

I'm looking for something similar to SQL for Smarties by Joe Celko. More specifically I'm interested in .Net 3.5 or 4.0. ...

Command line tool to add resources to an Xcode project

I've got an Xcode project that creates a standard application that can be branded in multiple ways and contain some custom content. At the moment I have a Resource "Resources > Tour Packages" with the custom files under this. At the moment every time I want to brand the app a different way I have to delete the old files from this resourc...

adding different language strings to a single resource file

Hey all. I have a small application, which includes a resource (.resx) file. This file contains an icon, and a string, which is used by another application. The icon will be displayed on a button, and the string is the mouseover text. What I want is in some way, to add strings in multiple languages, without having to crate additional ...

How to remove App_LocalResources from Build Process

We have a Large-scale Application and it have dozens of resx file to localize application these files build each time and take much time to build and the build process goes longer how to remove these kind of files from build process ...

ASP.NET Web Service / Validation Application Block / Resource Files

I've created a Class Library that uses the Validation Application Block on an object that uses a Resource File. I can get it to return the appropriate item from the resource file but I need to add support for additional languages. Currently, the class has properties that resemble the following: Class Library > Contact.cs [StringLengthV...

superscripting text in resource bundle in java

Hi, has anyone included superscripted text in a resource bundle? any advice on this matter would be appreciated! ie: programmingpanda thanks, panda ...

URLWithString returns nil for resource path - iphone

Having a problem getting the URL for a resource for some reason: This code is in viewDidLoad, and it's worked in other applications, but not here for some reason: NSString* audioString = [[NSBundle mainBundle] pathForResource:@"sound" ofType:@"wav"]; NSLog(@"AUDIO STRING: %@" , audioString); NSURL* audioURL = [NSURL URLWithString:audi...

What embedded systems related blogs and other resources do you follow?

There are tons of programming related blogs around the Internet, but I'm looking for resources that focus on embedded systems software and naturally also hardware things. What blogs, podcasts, newsletters, web sites etc. do you read to learn new things? Are there embedded systems professionals that every embedded engineer should be awar...

Determine the specific fallback ResourceSet/Cutlure used by the ResourceManager when lookuping an object

So I have a localized Winforms application with a bunch languages already. Some of those we localized are neutral cultures we fallback too. Everything is setup and working correctly there. In the field we download new resource satellite assemblies on demand (like a poor mans on demand differed download you get from ClickOnce). For logg...

What is the file path, as a string, of a file in the application's resources?

The reason I ask is that I want to print, at run-time, a file in the application's resources, like this: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim printProcess As New Process printProcess.StartInfo.CreateNoWindow = True printProcess.StartInfo.FileName = "C:\Users\Ge...

Browser treating real file differently than servlet-generated file

I have an application that uses html5 to let the user listen to some audio samples on the server. If I specify the path to an actual audio file on the server, things work as expected: <audio src="/audio/english/banana_1.mp3" controls> Your browser does not support the <code>audio</code> element. </audio> However, if I point to a ...

How to automatically monitor and limit resource of process on Windows

On Linux, normally I use ptrace function to trace all syscall, and kill the process if the it tries to do anything harmful to my machine, such as system("shutdown -s -t 00") or so. Is there a way for me to do this on Windows? EDIT: I want to write Sandbox program to limit time and memory usage of its child that can work on both Windows...

Batch getting many bitmap resources on Android

I have a long series of graphics -- icon1_0.png, icon1_1.png, icon1_2.png..., icon12_0.png, icon12_1.png, icon12_2.png -- and I'd like to package them with my android application. Ideally I think I should be able to load them as resources but the resource id's are set up as java identifiers. Of course, java identifiers can't be assembl...

Dropping a column from a "$result" resource after a db query

After a simple query that is successful, $sql = "SELECT * FROM mytable" ; $result = mysql_query ( $sql ) ; is there a way to "drop" a specified column from the $result resource? IOW, the $result consisted previously of 8 fields, but afterwards contains of only 7. Thanks. ...