I have a .wmv file which is 3 seconds long. I want it to play at a certain part of my program.

Any ideas?

Recommended Answers

All 2 Replies

Use this code where you want to play the sound

PlaySound("YourFile.wav",new System.IntPtr(),PlaySoundFlags.SND_SYNC);
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.