embedded-resource

Problem starting program with a dll embedded as a resource

I've done About.com guide to embedding dll's in Delphi EXE's which seems to work, so long as I don't actually use the DLL as an external function. Is there anyway to get the code I linked to to work earlier than an unit referenced in the uses clause. I've tried: Doing exactly what this code says. Placing this code in the initializati...

RAW Data from embedded resource image

I am trying to retrieve an image from an Embedded resource, and displaying it in its RAW DATA format (ie-> junk text data). Basically, I am running into a wall with everything I attempt. Can someone show me how to do this properly? Thanks. ...

Use external file or resource?

I am writing a C# application that uses a long "hard-coded" string. For maintainability reasons I have decided to put this string in an external text file and load it. Is this a good idea? The extra I/O does not seem big in this case. I realize that I also have an option to embed this file as a .resx resource. Is this a better idea? Th...

Getting Outlook::_MailItem from Outlook::Attachment (embedded email)

I'm writing an Outlook Addin using VC/ATL. This particular addin takes selected email messages and writes them to disk. It also writes all of the associated attachments to disk. We then read everything in to our application outside of Outlook. Using the Outlook object model, this is pretty straightforward as both _MailItem and Attachmen...

How to run a script embedded in the page in Selenium IDE?

I'm testing a page with Selenium IDE and want to execute a method already in the page. I've tried getEval(window.name.space.function()) but it just returns window.name is undefined. Is this possible? ...

Embedding an instance of InfoPath in a Visual Studio Project?

Consider the following mock-up image I've created: I am new with working with InfoPath and I was curious if anyone knows how to embed an instance of InfoPath inside of a winform, so users can fill out the form without launching the InfoPath application. ...

Preload javascript an Embedded player

If I have HTML with embedded code inside, for example a embedded player of YouTube, can I build in JavaScript, AJAX, etc. preloader for this player? Because if I have only the player embedded, the page is white in the loading moment, and later the player shows itself... ...

directly embedded subreport in jasper report

Hello, I am so close to having this work, I am trying to directly embed one jasper subreport into the main report xml of the other. You'd think this would be easy, but I can't find a single example on doing it. Everyone seems to use files or resources or whatever. I have one report working straight from a string and I want it to conta...

Control an embedded into website flash player with Python?

Hello, I am trying to write few simple python scripts, which will allow me to control one of the Internet radio (which I listen) with an keybinded python scripts. I am now able to connect and log into the website, I am able to get out the song data ( that is - all the data which are passed to the player). I noticed, that the player is...

How to retrieve a text file from the resource file in C# VS.2005

I have a html template that I want to retrieve from the resources file in a VS 2005 C# windows form application. I've created a folder called /html/ within the project, which has one file in it called template.html. I've added the file to my resources. I see its name just as template, and it's filepath is the fully qualified filename (...

Retrieve embedded resource using case insensitive filename in .Net

I currently use GetManifestResourceStream to access embedded resources. The name of the resource comes from an external source that is not case sensitive. Is there any way to access embedded resources in a case insensitive way? I would rather not have to name all my embedded resources with only lower case letters. ...

Is it better to load from Bundle or disk?

I have about 10 images in my app. They are in the bundle as resources. Is it better to load them from the bundle on each app start? Or deploy them to disk once and always load from disk? ...

Generation and Compilation of .resources files with MsBuild

I have a process where I need to automate the process of generating the satellite assemblies. Specifically this is for WPF and combining Resx and BAML resources. I've got a build script that works, but it requires manual adding of the .resources files I want to combine with the BAML resources. IOW, I have to add to the build script each...

Embedded flash player for uploaded mp3s

I'm looking to create a site that essentially has the some of the same functionality as myspace's music section (hopefully a little less garish). I'd want to allow users to upload mp3s and then have an embedded flash player on their profile that plays their songs. Is there anything pre-built like this? If not, what are some good tutorial...

Is there a way to find the last modified date of an embedded resource in .NET?

Does anybody know a way of doing this (at runtime)? I'm not sure I can elaborate much more in the description than is already given away in the title, but if you feel I missed something do say! ...

How to publish a game?

I don't just mean publish, but pretty much everything between when the pure coding is finished and the first version is released. For example, how do games make it so that their save files are hidden/unhackable, how do they include their resources within the game as opposed to having a resource file containing all of the sprites, etc., ...

Print Embedded pdf from Excel worksheet

Hi, I have a pdf file embedded in an excel worksheet that is opened through and icon. This icon object will have a specific name (i.e., "ObectToPrint"). What I need to do is print this pdf file without actually opening it. Is this possible? Thanks! ...

How do I embed a flash SWF file and get around the IE security layer without using swfobject (to keep down file size)

I'm looking for a way to embed an SWF into a page and get around the Internet Explorer security issue (where it requires an extra click to "activate" the flash file). I've got my code working with swfobject, but I'm using this in an embedded widget context (eg a clickable banner ad) so I am really trying to keep my file size down, and ...

Can I modify the content of an embedded resource (text/xml file) in a .NET application

The title is pretty much the question :-) I've embedded an xml file and a txt file as resources in my .NET app. Am still debugging other things, so cannot run and test this. So just asking, would I be able to modify these files at runtime, after deployment? ...

Asp.Net resource manager always returns neutral culture resources

I am using embedded .resx to localize an asp.net application. It seems that no matter what the current culture is, the neutral culture resource is always returned. The code I am using to retrieve the value is as follows: protected string GetResource(string name) { return Localization.ResCore.ResourceManager.GetString(name,...