resources

How to manage application resources?

We are developing a web application which is available in 3 languages. There are these key-value pairs to translate everything. At this moment we use Excel (key, german, french, english) for this. But this does not work well ... if there is more than 1 person editing this file, you have no chance to automatically merge the different fi...

C# WebBrowser HTML with references to scripts and images

Hello, I'm writing a C# app using the WebBrowser control, and I want all content I display to come from embedded resources - not static local files, and not remote files. Setting the initial text of the control to an embedded HTML file works great with this code inspired by this post: browser.DocumentText=loadResourceText("myapp.index...

Plug-in for Visual Studio for quick-searching files in solution

I want to write an Add-In for Visual Studio that provides instant search for the solution explorer. So you press a key combination and while you are typing a list first containing all files of the solution explorer gets narrowed down. But how can I get access to the solution explorer using C#? Does anyone have some good resources? Ed...

How does one copy a dialog resource from one project to another in Visual Studio 6.0 or Embedded VC++ (eVC)?

I've got two branches of code. 1 has a dialog box that the other doesn't, but because of politics the dialog box wasn't moved into the newest branch. Now they want it in... So is it possible to copy a dialog box from one project to another. There apears to be an export and import feature however it's greyed out. ...

Combine LocBaml and Resources in single satellite assembly

Its my understanding that the recommended approach to localization in WPF is to use the LocBaml tool to extract the localizable items into e.g. a csv file, translate the items into the desired language and regenerate a new sattelite assembly from this csv file. However from my experiments this seems to conflict with the generation of sat...

Loading HTML from a .res file

Using VS2005/2008 as a resource editor, one of the options in the Add Resource dialog is HTML: it appears to allow me to embed HTML file(s) into a resource (res) file. Does anyone know how to grab the HTML (as a string) from VB6 code? The LoadResData appears to be close to what I'm looking for but the problem is there isn't a HTML format...

rails map.resources with has_many :through doesn't work?

I've got three (relevant) models, specified like this: class User < ActiveRecord::Base has_many :posts has_many :comments has_many :comments_received, :through => :posts, :source => :comments end class Post < ActiveRecord::Base belongs_to :user has_many :comments end class Comment < ActiveRecord::Base belongs_to :user be...

Deploy a resource file to App_GlobalResource folder on activation

Does any one know the best way to deploy a resource file to the App_GlobalResource folder of the web application when a feature is activated? ...

Would you recommend the book "Programming in Scala" for an experienced developer?

I would like to learn Scala. In the past, I have used Java and F# extensively. Would you recommend the book Programming in Scala for someone like me? I really liked the book Expert F#, and I was hoping that Programming in Scala would be in a similar vein, but the few chapters that are online are rather disappointing. Are there good res...

tomcat 5.5 - problem with reading resource files

I'm using Tomcat 5.5 as my servlet container. My web application deploys via .jar and has some resource files (textual files with strings and configuration parameters) located under its WEB-INF directory. Tomcat 5.5 runs on ubuntu linux. The resource file is read with a file reader: fr = new FileReader("messages.properties"); The proble...

Netbeans and external configuration files

I am developing a Java desktop application and would like to have an external configuration.xml. I am developing the application using Netbeans and tried to add the configuration.xml file in the dist directory so that it resides in the application work folder. But when Netbeans executes its clean operation it deletes the dist directory, ...

asp.net help resource location

I have a relatively simple site that I'm working up for an intranet environment. The pages have a hook to display a simple bit of text (possibly with a bit of HTML for markup purposes) for help when the user clicks a link on the page. I'm debating whether to put the help snippets in their own XML file or create a section in web.config. T...

Where can you get good programming information for POS (Point-of-Sale) Development?

POS Development has some special challenges, ie. printer languages such as ZPL, "ESCPOS", OPOS etc. etc. It would really be nice to know where are the best sites with information and code snippets and sample programs. Many programs and examples for barcodes for instance, generates barcode images - this is not what I am after - it is abo...

What are the best programming articles?

Part of being a good software developer is keeping current with what people are saying in the community. There are many good articles out there on the Internet about the wide subject of computer programming. What articles have you found worth your time? Please provide the article's title, author and a link if possible. ...

How do I read from a version resource in Visual C++

I have a version resource in my resources in a C++ project which contains version number, copyright and build details. Is there an easy way to access this at run-time to populate my help/about dialog as I am currently maintaining seperate const values of this information. Ideally, the solution should work for Windows/CE mobile and earl...

Resources for graph structure ?

I have a problem related to graph. I am not a computer science grad hence needed a some quick intro on what is graph and were can i read about graph and how to solve graph related problem in c++ or in general. ...

Good facelets resources?

I've been working with JSF for some time, and been using the Apache-Trinidad tags. I like developing using this a lot but I keep hearing great things about facelets. Is anyone out there using it, and what exactly does it get you? I've looked at the facelets site (https://facelets.dev.java.net/), but it doesn't do a very good job explai...

Designing extensible software (plugin architecture)

I need some resources that talk about how to design your software to be extensible, i.e. so that other people can write add-ons/plug-ins that adds functionality to it. What do you recommend? Any books out there that discuss the subject? I would prefer something that's short and to the point; a bit of theory and a bunch of concrete examp...

Good Source Of .Net Design Patterns

I'm looking for a good online resource of software patterns. Preferably something with a comprehensive selection and concise well written explanations, not just a collection of links. .Net examples would be nice, but not essential. ...

What would cause my application to lose access to the resource (.resx) file

Winforms c# application running on terminal server. All images for buttons and menu items are stored as resources in the .resx file. After some heavy use, opening and closing windows while using the system, an "index out of range" exception is thrown and the window no longer opens. If the user attempts to navigate to any other part of...