resources

How to combine imported and local resources in WPF user control

Hi I'm writing several WPF user controls that need both shared and individual resources. I have figured out the syntax for loading resources from a separate resource file: <UserControl.Resources> <ResourceDictionary Source="ViewResources.xaml" /> </UserControl.Resources> However, when I do this, I cannot also add resources local...

How i can add custom version strings to a Win32 DLL using Visual Studio

I am linking my Win32 DLL in Visual Studio 2008 Team System i find out how to add custom strings by editing the .rc file directly. But how i can add my custom strings by Visual Studio IDE itself? and if i cannot, WHY NOT? Why they omitted this feature?!?! ...

Guide to Learn J2ME

Hi all, I am starting study java2me. But I have some source study about it like ebook, source sample code, and ... Could anybody give some link website or source ebook study about it. Thanks, Sopolin ...

How to create your own linux distro?

Is there any resource or book for creating own linux distro.Only good resource i found is this And also what specialities need to start project like this? ...

.Net : main resources, tools and libraries, open source or not, to build entreprise level applications?

As a young professional in .Net, I noticed that there are plenty of .Net application blocks for build an entreprise level application. Still, I could not find a place where all these resources are gathered, as an entry point to .Net development for beginners or professional. Here is my question. Which application blocks do you use in y...

Resource Files for Delphi

Hi, everytime i write a resource file (.rc) and drop it over the bcc32.exe, nothin happens. if i drop it over rc.exe, it gives me a .res file, which doesnt work in delphi. so what do i have to write in the .rc file, to get my .res built correctly at the bcc32? (example pls) lets say i wanna have abc.wav, which is on my desktop. thanks ...

How can I write data to a file in the workspace of a blackberry jde?

I'm having a file in the workspace and I'm reading the contents of that file. I am able to display that content in an edit field. Now I want to know how I can, if I change the content of the edit field, update the file in the workspace. How do I perform a write operation on the file in the workspace? ...

Managing temporary files in a small .NET program

My question is about handling temporary files in a small .NET program. This program/utility just does the following with two URLs: Download each URL to a string (WebClient.DownloadString). Save each string to a temporary file. Call WinMerge (Process.Start) to diff the two files (in read-only mode for both files). I currently have the ...

how do I package support files in a cocoa app

I'm building an application where I want to provide the user with a few dozen templates that will internally take the form of property lists. I would also want to group them in categories, which would conveniently be achieved using folders. While I have contemplated shipping these files as simple resources in my application, I don't lik...

How to use NVelocity without embedding the templates as resources?

I've been playing around with NVelocity to create a library that loads mail templates. And I haven't been able to load a template without embedding it into the application assembly. Is there a special way of doing this? Properties to be specified? I've tried several string formatting tweaks to get the path of the template and keep getti...

Blackberry - How to retrieve images from a zip resource file?

I am using eclipse & JDE to develop Blackberry Application. I compressed a folder which has set of images in .jpg and .png formats. Please help me, how to retrieve images form the zipped file? Thank you..... ...

Displaying xaml resources dynamically?

I used Mike Swanson's illustrator to xaml converter to convert some of my images to xaml. The convert creates a viewbox that contains the image. These viewboxes I made resource files in my program. The code below shows what I'm trying to do: I have a viewmodel that has an enum variable called PrimaryWinding of type Windings. The values...

Better resources to learn buildout

I am trying to grasp a bit more of buildout with this tutorial, but unlike a tutorial, it seems like a cut and paste of presentation slides. I don't have a really clear idea of what the purpose of buildout is, and how it positions itself with scons and setuptools. Would you be so kind to provide details on these issues? Thanks! ...

Which is a good way to maintain resources for Internationalization in .Net

I have thought of three approaches to create and maintain resources in .Net projects for WinForms using Visual Studio 2008. (I am sure there should be more than three ways.) I need to decide on one before starting to implement internationalization for our product. Have individual sets of resource files (resx) for each windows form or p...

VB/C#: Placing disposible objects in global scope: Is this okay?

As an optimization, I decided to put an object I frequently need - an SDL surface with a prerendered image of the entire level (called S_AreaBMP) - at global scope. Now it doesn't have to be created and destroyed in the DrawScreen function every frame. I only need to dispose and change it when a new level or GFX sheet is loaded, which I ...

"Virtual Path Not Known" When running ASP.NET MVC Unit Test Project!

Does anyone know why is it not possible to get the virtualpath when you are running the asp.net mvc unit test project? Is it because it creates a Temp folders under TestResults Folder.?? ...

What is the resource impact from normalizing a database?

When taking a database from a relatively un-normalized form and normalizing it, what, if any, changes in resource utilization might one expect? For example, normalization often means more tables get created from fewer which means the database now has a higher number of tables, but many of them are quite small, allowing the often used on...

Mobile Resources

Hello StackOverflow, I am interested in the mobile platform + mobile development, and would like to know about the sites you use to stay in the loop. aggregate news sites, blogs...etc ...

Asp.net MVC introduction

Where can I find some asp.net MVC introduction articles/tutorials. ...

Using SQL Server as resource locking mechanism

Given a table of logical resource identifiers (one per row), what is the best way for an arbitrary number of database clients to perform the following operations: Claim access to a specific resource, if it is not already claimed SELECT the next available resource and claim it (similar to above) Release a previously-claimed resource (...