i have a for each loop i.e
For Each dgvRow In boutgrid.Rows
file = dgvRow.Cells("FileName").Value
AxWindowsMediaPlayer1.url = file
AxWindowsMediaPlayer1.Ctlcontrols.play()
Next
if want that the loop stops while the player play a file until finished playback