Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Friends
I wrote a program where I need to run an audio file (in C#)
I got the audio files stored in the database in binary form.
I want when user clicks on a link that will put in grid View the sound file to be played.
I was able to take the form of binary files retrieved from the database but I am not able to execute it.
Please give me tips.
Thank you.
Posted
Comments
ZurdoDev 24-Sep-14 15:17pm    
Where exactly are you stuck?
Member 10496892 24-Sep-14 22:27pm    
play sound
ZurdoDev 25-Sep-14 7:17am    
Is anyone supposed to be able to help you when that is all the information you give us?
Bernhard Hiller 25-Sep-14 2:22am    
How do you want to play it - by your own player or by some other player installed on Windows or simply: the default player asscoaited with the corresponding file extension?
Member 10496892 25-Sep-14 3:15am    
Audio stored in just a few seconds.
I like the sound of music player without opening run.
As pronounced in babylon software

It depends whether your DB is online or offline.
If the DB is offline, you can retireve the binary file and save it with the proper extension to your HD.
If the file is online, you should use a file format which supports Streaming (I'm not an expert, you can Google for it) and take packages, but I'm not sure it will work.

A second solution can be saving the file to your remove server and then stream it.

Look here (http://www.experts-exchange.com/Programming/Languages/Scripting/PHP/Q_21328203.html[^])

Hope this helped.

LG
 
Share this answer
 
Thank you.
But my program is a desktop application
A dictionary that I want the user to save the audio file is the correct pronunciation of words.
I've searched but did not receive adequate resolution
 
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