Top "Embedded-resource" questions

Resources (such as images and help files) that are embedded into the binary of the application itself and typically not available as files.

How to read embedded resource text file

How do I read an embedded resource (text file) using StreamReader and return it as a string? My current script …

.net embedded-resource streamreader
Storing WPF Image Resources

For a WPF application which will need 10 - 20 small icons and images for illustrative purposes, is storing these in the …

c# .net wpf embedded-resource
Reading a resource file from within jar

I would like to read a resource from within my jar like so: File file; file = new File(getClass().getResource("/…

java file jar resources embedded-resource
How do I add an image to a JButton

I am trying to add an image to a JButton and I'm not sure what I'm missing. When I run …

java swing icons jbutton embedded-resource
Could not find any resources appropriate for the specified culture or the neutral culture

I have two ASP.NET Web projects (ProjectA and ProjectB). When class in ProjectA is instantiating a class of ProjectB …

.net asp.net embedded-resource resourcemanager
File loading by getClass().getResource()

I have followed the way of loading the resource file by using getClass.getResource(path). The snippet of code is …

java file load embedded-resource
Loop through all the resources in a .resx file

Is there a way to loop through all the resources in a .resx file in C#?

c# .net embedded-resource
How to embed a text file in a .NET assembly?

I would like to embed a text file in an assembly so that I can load the text without having …

c# .net embedded-resource
How can I extract a file from an embedded resource and save it to disk?

I'm trying to compile the code below using CSharpCodeProvider. The file is successfully compiled, but when I click on the …

c# .net embedded-resource csharpcodeprovider
Loading resources like images while running project distributed as JAR archive

I am having a error for my GUI. Trying to set title bar icon then be included in a Runnable …

java swing nullpointerexception awt embedded-resource