resources

Any Utilities to Check folder for files unreferenced by .RC file?

I could write something myself to accomplish this, but am hoping something already exists. I haven't found anything for it with Google, though. I have a .RC file which I can compile using Microsoft Windows Resource Compiler. I am wondering if there are any existing programs which will analyze the .RC file and figure out what files wit...

Dao methods, manipulating single/multiple objects and closing resources

The usual advice is to close JDBC ressources once they're no longer needed. This could be done in a catch and finally. However, what if a DAO method only manipulates one domain object and an operation requires several of these to be retrieved/created in one go? Would getting a statement and then closing it repeatedly be an issue in terms...

Can SAX use a local resource XML file?

All of the android examples for XmlPullParser pull from a local resource file, and all of the SAX examples pull the XML from a URL. I've been told SAX is faster, so I'm trying to use that to pull data from a local resource file (res/xml/thefile.xml) The example code I'm working off of is here. So in that example, the code I want to chan...

How to play .mp3 file from resources in C#?

I put music.mp3 in resources and then I added Windows Media Player to references. I wrote this code: WindowsMediaPlayer wmp = new WindowsMediaPlayer(); wmp.URL = "music.mp3"; wmp.controls.play(); It doesn't work. How can I play .mp3 file from resources? ...

Reading Values from Windows Resource (.res) Files

Hello, all. I would like to know if there is a good way to read out values in a compiled resource (*.res) file. I am familiar with reading resources from an executable, and I'm wondering if there is a similar way to read out resources from a resource file. Thanks in advance! ...

Visual Studio 2008: How do I include project output as an embedded resource in another project?

I have two projects in one Visual Studio 2008 solution. I'd like to use the primary output from one of the projects as an embedded resource in the other, but for the life of me I can't find any way to accomplish this. If I simply add the output file as a resource, then it doesn't seem to change when its source project is rebuilt. I even...

How to add reference to .propeties file in .classpath

Hi, i've got exception, while running java class from Eclipse: java.util.MissingResourceException: Can't find bundle for base name dbconfig, locale en_US Seems that my dbconfig.properties file isn't in classpath. dbconfig.properties located in root of the project. Eclipse is ran with VM arguments(in Run configurations-->Arguments menu...

Best resource to learn .net framework

I wish to learn in depth about .net Framework such as CLR, GC etc. Please list some resources where i could learn the same Resources could be links/blogs/forums/groups/books/videos/audios etc Thanks! ...

Best resource to learn AJAX

Hi, I have used AJAX (Microsoft AJAX) in asp.net and used it controls such as update panel, postback trigger, calendar control, modal popup etc but i wanted to learn basics of AJAX say how ajax works, how it renders the page, why to use AJAX, why NOT to use Ajax? Thanks ...

Resource (RESX) files messed up

I had a resource file named Localize.resx, which contains English strings. I copied and pasted it inside the same folder(App_GlobalResources), VS created a copy, I renamed the copy to Localize.sl.resx and the original to Localize.en.resx. Now everything in codebehind files (Localize.en.designer.cs) is gone. Deleting the designer file and...

what could be reason for virtual bytes to grow 2x private bytes?

An application's virtual bytes grow 2-times the private bytes. does this indicate memory leak? bad application design? OS is 32Bit any thoughts are welcome. application is stream database. ...

How to extract image from embedded resource programmatically in VB .NET

I have a small vb.net app that have a few images in an embedded resource. Is there a way I could extract one of those images to a folder from the same exe that contains the resource?, like clicking a button, selecting a folder to save it and extracting the image there. ...

All Strings to resource

Hi I'm Looking For a tool that help me to extract all strings of my code files to Resource File. I Used Coderush and Microsoft add on(resourcerefactoring.codeplex.com) for working with Resource files. but i had to extract strings to resources one by one. Is there any better option? ...

StaticResource not found

I have the situation where a SolidColorBrush (defined in App.xaml) cannot be resolved during runtime, when i use the Brush in a Style as StaticResource. During designtime (using Visual Studio 2010) the brush is found, cause when i change the color of the brush the UIElement with the styles are updated with the new color. During runtime...

Create Resource from asp.net page

Hi is it better to create one resource for every asp.net page application. or to create a global resource for all pages? my application has about 100 pages and 200 usercontrols. if i want to create global resource can how can i use this Feature of visual studio that able us to generate resource file automatically from every page with thi...

Why won't R update for a linked XML file?

I have two XML files located in res/xml/. One file is a normal XML file located in that directory called myfile.xml and I can access it normally as R.xml.myfile. Eclipse allows you to link files in from other locations. I have another XML file that is linked in from another drive. No matter what I do, i can not access this file by R.xml...

Generate Local Resource for all pages

Hi Is There Any Way or trick to generate local resource for all pages in visual studio 2010 automatically? I have about 500 pages and UserControls. its hard to generate resource for every page one by one. is there Any Add on or extension for this? shaahin. ...

Reading Resources correctly in Eclipse with Java

Hi Guys, I try to load a property-file that is here <project>/resource/text/translation_en.properties With the following code (in a static context, no Objects are initialized from me right now): <This_Classes_name>.class.getResourceAsStream("/resource/text/translation_en.properties"); Why do I load it this way? First I use the cla...

Confused about resources in a .NET project

I am trying to remove a massive amount of cruft from a .NET 3.5, VS2008 project and I am somewhat confused as to what gets compiled into an EXE and what isn't. So for instance, if I double click on my Resources.Resx file, i get the following: As you can see it states that this bitmap is "Linked at compile time". However, when I go t...

More resource confusion

I have a project that has a bunch of images in the project tree. One of the images has the BuildAction set to Content, but Copy to Output Directory is set to None. What exactly happens to this resource? Does it get compiled into the EXE? From what I understand about resources - nothing should happen to it; having this image in project...