Click here to Skip to main content
15,912,082 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Dear Sir/Madam

How to add multiple audio files in single windows application. can u give me any example.
eg.I have take 10 Questions and I want to read 1 st question if i click to the sound button then start sound and after clicking next button then next question sound is started this type.........
plz help me.
Posted
Comments
Sergey Alexandrovich Kryukov 30-Jul-13 1:20am    
Help with what? So far, the question makes no sense, because — add to what, what in your application? for what purpose? And so on...
—SA

1 solution

Hi,
You dont need to add Multiple Audio files in your winform.There is 2 way you can do this
1) Store all your Audio Files in your root folder.Display all the Root folder Audio file names in Combo box order by name .by user selection you can play the Audio.
To play the Audio file check this link

Playing .wav files using C#[^].
2) Create a new form as Upload Audio file,Upload Audio file to your root folder,Save the File name in your DB.
In your Audio Play form load all the Audio file name or select the needed Audio files,Play One by one on Next Button Click.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900