Adding files into a project

Microsoft Visual c# .net standard 2003 c...
December 5, 2009 at 05:58:23
Specs: Windows XP, ????
I'm building a program which will contain a short movie.

I've built a simple media player that can read files by path (by a great article I've found).

Problem is my project must consist of being a single file - which means I need to find a way to insert the movie into the project itself.

(Also, I wish to add HTML, javascript, CSS and image files as well if its possible)

What should I do?

See More: Adding files into a project

Report •

December 5, 2009 at 13:29:03
I've never done it myself, but I think you need to add all these
files into your project as embedded resources. The following
MSDN entry then shows how to retrieve the files from your .exe
at run time:

You should google for embedded resources, or follow links from
the above URL.

Report •

December 6, 2009 at 11:14:44
I tried googling for it but because English isn't my native language I wasn't thinking about sing the phrase "embedded".

Thanks, I'll check it out.

Report •

Related Solutions

Ask Question