Hello some questions about code ...
Is there any idea how to include sound file into program ? Without this path from drive.Code:private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) { System::Media::SoundPlayer player("C:\\Windows\\Media\\ding.wav"); player.Play(); }
And one more, if i press button and the music is playing, button is pressed, when i press again it's unpressed and music stop.
Thanks,




Reply With Quote