Aperture
Aperture

Reputation: 2427

How to bundle a .wav sound into a Winform application .exe executable?

I have a alarm clock Winform program with a .wav sound. I would like to bundle the sound file into the exe file so that it is easier to distribute. How can I do this?

Upvotes: 1

Views: 259

Answers (1)

Rohan West
Rohan West

Reputation: 9298

You could include the .wav file as an embedded resource. This link describes how you can play the .wav file that is embedded.

Upvotes: 2

Related Questions