embedded-resource

Embedding Third Party Fonts as resource for Win32 Application

Hi, I was wondering how i can embed a third party font into my app( and use it ) so i can distribute my app with the font of my choice for users who do not have the font installed on their systems. Is this possible, or do i have to distribute the font if i want the users to be able to use the font in question. Thanks. ...

"Not Connected" message in Visual Studio 2010 when using TFS

In Visual Studio 2010 Premium I have a project that is connected to TFS. Sometimes I see "not connected" messages on the tabs of individual files when open in VS2010. All TFS related functionality (i.e. "Check Out For Edit") seems to be working correctly. Here's a screen snippet from a VS2010 Winforms project to show what I'm talking a...

Visual Studio Installer Project: Installer and Application Icons

I've got an icon for one of my applications, which I've embedded in a resource file and is used as the main icon for the application. So far so good. However, I want to use the same icon for the installer project, and for the shortcut that the installer places in the Start Menu. I can set the icon for the installer package itself, but o...

Android HTML resource with references to other resources

I would like to add an HTML resource to my Android project with references to other resources (mainly drawables). Where should I put it and how do I reference other resources from it? Is there a particular way to pass the HTML resource to a WebView? Thanks! ...

What are best practices in dealing with oEmbed regarding storing and caching responses?

I'm currently working on a website and I'm fairly new to working with oembed. What are considered best practices in regards to storage and caching of the response? If ultimate speed is my goal and the site I'm working on has potential for huge amounts of traffic, am I better off saving myself database space by just storing the end-point ...

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...

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...

update embedded documents mongodb with mongoid

Hello frens.. I am having problem updating the embedded documents in mongodb. I have a following scenario. A User model has address as the embedded docs. I am able to embed the address to the parent model ie; User model but i still cant figure out how to update the address embedded even though i have the _id of the address embedded Plea...

I need help embedding fonts...

...Acrobat Pro or Acrobat Distiller. Not sure if this is the right place to ask this question but am desperate for help. Thanks, Leonard ...

How to deal with application resources

I`m using C# and WPF ... I`m asking this question as I have never found a solution to my previous questions!! so I want to add an empty access database file to the application resources and to copy it to a specific location, I want to know how to add/retrieve the file from the resources ... also, is there a way to update the file during ...

iTextSharp - How to input image (PNG) from project resource?

I have iTextSharp creating a pdf for me in VB.net. Everything was working famously, except now I want to embed an image. I tried this: Dim test = My.Resources.MyImage Dim logo = Image.GetInstance(test) This an error though: 'GetInstance' cannot be called with these arguments It appears as though it expects a path, and is getting...

Embedded resources in Objective C?

I have a library in both C# and Java that use some XML files to generate a lot of objects. I use them so I don't have to hardcode it in both languages, and can easily update the data. In both C# and Java I can embed these files into the DLL/Package. How would I proceed to do something like this in Objective-C? ...

Embedded Resource missing in Visual Studio 2010 when name ends with "No.xxx"

I've come across a strange behaviour in Visual Studio 2010. When using embedded resources (files which are added to my C# project and for which the Build Action property is set to Embedded Resource), the files are included in the output assembly as binary data. Listing the resources is straightforward: class Program { static void M...

How to use Global Resources in a Library

I use the Global Resources feature, not only to centralize all my output strings but to make it easy when using Localization (witch is almost 90% of the time). But I spread out my project into, not only the ASP.NET website, but with 2 Library projects as well. my question is: How can I use the ASP.NET Global Resource file in those ...

Why doesn't ToolboxBitmapAttribute work?

I have a UserControl in my project called 'UIWizard.cs', and a 24-bit Bitmap named 'UIWizardToolboxBitmap.bmp' that has it's build action set to 'Embedded Resource'. I verified that it does exist in the manifest: .mresource public BitFlex.Windows.Forms.Resources.UIWizardToolboxBitmap.bmp { // Offset: 0x00000000 Length: 0x00000336 } ...

Edit embedded resource (Visual Studio)

This should be simple, but Visual Studio stubbornly refuses to cooperate: I have a C# project (Visual Studio 2005) with bitmaps as embedded resources, BUT I CAN'T GET AT THEM! I've been struggling with the GUI and MSDN "help", and can't get to the embedded bitmaps to edit them. How is this done? ...

c# render embedded resource gif

I have an embedded gif in a c# project myProject.Properties.Resources.pixel_transparent and I want to render or draw it in an image box called uploadImage Thanks for any help ...

Nant builds with embedded resources fails

I'm trying to do an Nant build on my Visual Studio project. I have a few directories of 3rd party XSD files that I'm using as embedded resources. Some of the XSD files have the same name even though the files are in different directories. When I try to compile my project. I get this error: [csc] error CS1508: Resource identifier 'Cod...

ASP.NET global resources with PublicResXFileCodeGenerator as custom tool

We are working on a project with many different developers and do not want to make a too big mess of using the resources, so therefore we want to use unified explicit syntax: <%$ Resources:[filename prefix,]resource-key %> We also want to specify a custom build tool: PublicResXFileCodeGenerator (or any other if it would suit more) to ...

Asp.net MVC 2 Localization Problem in dev

I work on a multi culture web project. I use Localize and Global Ressources(resx) as multilang technology. I work in team with 2 developer. How can we share .resx . When my teammate give me the 2 Files ( myfile.resx and myfile.Designer.cs) and I include it in my project, there is no way i can add some new string in the file. The new str...