I have a problem that I can't solve myself.
I am using the Adodc control and a DataGrid control.
For each record in the database belongs a wav file.
and when I move from one record to another, the Mediaplayer filename property changes to the correct wave file.
when I delete recored in the Grid, I'd like that the wave file that belongs to that record, will be deleted from the hard disk as well.
so I used the statment Kill ,and gave the path of the file to be deleted.
an error no. 75 was showed.
I guess the problem is because of that I'm trying to delete a file that the FileName property of the MediaPlayer control is set to.
I wish you can help me with that .