hi
I am developing one applicaion.
In that i am using media player..
I have to divide 1 audio song in 15 parts and place it in listview which is having play button for each segment.
so how can i play hat particular segment.
Also when the form gets loaded no music should be played untill i click on play button of particuler segment..
i an posting my play code..
private
void play(){
if(Player.playState==WMPPlayState.wmppsPaused){
Player.Ctlcontrols.play();
timer.Enabled =
true;}
else if (mediaType == "audio" || mediaType=="" && Player.playState==WMPPlayState.wmppsPlaying){
try{
Player.Ctlcontrols.currentPosition =Convert.ToDouble(start[sel_song]);Player.Ctlcontrols.play();
timer.Enabled =
true;}
catch(Exception ){
}
}
else
{
try
{
Player.URL =CurrentSongPath ; / /path of cd drive having audio format cd..
if(sel_song!=-1){
Player.Ctlcontrols.currentPosition =Convert.ToDouble(start[sel_song]);
}
timer.Enabled = true;
}
catch(Exception)
{}
}
If anyone having any idea please post it..
thanks in advance.

how to play audio file.
Dietz