Embedding Media Files

  • Thread starter Thread starter Travis
  • Start date Start date
T

Travis

Does anyone know if it is possible in .Net to embed a audio or video
file into the application so it can be built and distributed as a
single exe?
 
Does anyone know if it is possible in .Net to embed a audio or video
file into the application so it can be built and distributed as a
single exe?

Add the file in question to your project. Click on the file and then in
the property editor, set it's build action to "Embedded Resource"
 
Chris Dunaway said:
Add the file in question to your project. Click on the file and then in
the property editor, set it's build action to "Embedded Resource"

Awesome thanks.

One more .NET newbie question...

How do you access it now form say an embedded windows media play control?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top