resources

Recommend articles or books for a MooTools to jQuery switchover

I'm looking to get acquainted with jQuery a little better than I already am. I'm not looking to necessarily replace MooTools, but rather for a basic difference guide between the two, not dissimilar to the Ruby From Other Languages guides. Can you recommend any articles, books, or other sources of information for this purpose? ...

Is including resource.h in precompiled header a good idea?

The VS-IDE will write //{{NO_DEPENDENCIES}} to resource header files. This comment is actually a feature that prevents (unnecessary) rebuilding of cpp files that include the resource header. But, like stated in the MSDN, this can lead to "undesirable side-effects". In our project we do have the resource.h included in the stdafx.h for p...

Resource (resx) from an external resources assembly - Disk or Memory IO?

Hi, In .Net, When I fetch a resource from a resx in an external resources assembly - does this involve a fetch from Disk or Memory? Thanks ...

Windows Forms .NET 3.5 using resource images for a Treeview control

Hello SO, When populating my treeview I would like to use the same images that I use in my toolbar etc which are stored in a resource file. The treeview seems to on accept images via an image list. I was thinking of reflecting and adding the resources to an image list on load... How do you guyz n girlz generally do this? ...

Bulk Actions on Rails Restful Resources

I am trying to implement a bulk update feature in a Rails app, the model I want to update is a restful resource. I need to display a table where each row is a single resource and has a check box. The user can check as many boxes as they like and then chose an action to perform on all of the selected resources, eg delete, change status et...

Resources to deepen knowledge before writing a framework?

I'm planning to reinvent the wheel by writing a PHP MVC/ORM framework in the near future. I have already watched several conference presentations on InfoQ, came across numerous slides, which have great impact on my knowledge. I'm still particularly interested in the best practices of: Framework design TDD (PhpUnit, Selenium) Domain D...

ILMerge and localized resource assemblies

We have an application whose structure when compiled looks something like this: Foo nb-NO Text.resources.dll sv-SE Text.resources.dll Bar.dll Foo.exe Text.dll Is it possible to use ILMerge on this? How would you do that? ...

How can I set the icon for my program? I mean, the actual .exe that will be on the desktop.

I can change the icon in the WindowsForm. How can I actually change the icon in the desktop? ...

Read SQL File in Resources RESX and Create TAbles, Insert Rows with Oracle ODP.NET

Hi all, i need good sample code C# or VB.NET , frk 3.5 for this tasks: Read SQL (Oracle) File from Resources RESX and do: create TAbles, Insert Rows using Oracle ODP.NET Thanks in advance ...

WPF resources addin

I have a WPF application that runs as an add-in in another application. (In this case it is COM based but I don't think it matters for the problem I have) The application works fine when I run it standalone. When running as add-in there is a problem with resources. First: (minor) The "pack:" uri scheme is not available at all. I can w...

How to add a StringFormat to a Textblock inside a DataTemplate?

I have the following datatemplate: <DataTemplate x:Key="ColoringLabels"> <TextBlock Padding="0" Margin="0" Name="Username" Text="{Binding Username}" Foreground="Gray" FontStyle="Italic" /> <DataTemplate.Triggers> <D...

C# Convert Byte Array to Generic List

I have a custom list which I want to embed as a resource so it can be copied out with each new install. However, my list is serialized as a binary file and when I add it as a resource I can't just copy it out because C# treats it as a byte array. I need to be able to convert this byte array back to my custom list when I extract the fil...

How can I bind dynamic resource key value with column value in data table in wpf

Hello, I am developing a user control in wpf where I need to set eclipse background color as per value in database. Now that field contains values between 1 to 6. now I want that according to values in of that field my eclipse should have different color. I have defined 6 different brushes in resources. Their key values contain 1 to 6 n...

What is the standard format for localised resource files on different development platforms?

Hi, When developing in .Net, the framwork provides resx files as the standard way of storing localised resources (e.g. tranlsations of UI text). I would like to know if there is a standard format for this in other development platforms (e.g. Java, RoR, etc.) and what that format is. Thank you! Please limit each answer to one developm...

/Mappings/Index is found but not /Mappings with ASP.NET MVC

Just struggling with a simple issue with ASP.NET MVC. I have a list of views, each view associated with an Index.aspx view being associated by default with /MyView. Yet, for some reason I have 1 view named /Mappings that does not work (404 resource is not found) whereas the explicit path /Mappings/Index works. I have the default route...

Algorithm for effective connection resource management

Hi, difficult to look this up if it has been asked previously since I don't know the name for it. So here goes: I'm making this server which connects to messaging gateways in order to send msgs. A session with this gateway requires a username/password combo. This way the gateway knows who to bill. Now I could have thousands of message...

I can't load bitmaps on WinCE

I wrote a small project that displays icons on the screen on WinCE. The icons are 28x28 16-color BMP files, placed in the main resource file (Resources.resx) (the resx for the main Form has the same problem, and GIF files don't work either). The first time I try to get any bitmap from the resources, an exception of type Exception with M...

Tool for renaming the resource keys and their occurences in the source files

Is there any Workaround/Tool for renaming the Resource Keys from the resource file . I also need to replace all such occurences in the source code with my new (renamed resource key). Is there any tool available to automate this task.? Could someone put in some thoughts on this.? thanks, vijay ...

Resources in a static lib file - MFC

MFC is failing to launch my dialog boxes, it seems, because it can't find the resource identifiers. The dialog boxes are in a separate .lib file (so it has a separate .rc file, which, I'm assuming, somehow conflicts with the one in my .exe file). How should I be handling this situation? ...

WPF Resource Management

I am writing a program that has to access images from a legacy data file format. (To be specific: The program is loading it's UI images directly from the data files of an old game) Since the images are all stored as Targa (TGA) files, I have to preprocess them into PNG files. I do that in a local application data folder. My problem is w...