[02/03] Multimedia Control Question
I am using the multimedia control to record my voice in my application. I am trying to record over a the same file by using file.delete(path of my file) to delete my file and then record over that file using that same filename. For example, let's say I have a file named Eric.wav stored in the filepath "C:\Eric.wav" When I try to record using that path after deleting the file using file.delete("C:\Eric.wav") it does not create the file at all the second time but on the third time when I record it creates the file. What is causing this and how can I remedy this without having to create different files each time?