When my application has an issue whilst trying to write to a text file and isn`t able to so (probably as it`s being accessed from elsewhere momentarily), can I NOT have the Multimedia Player dialog box appear telling me so?

Tried all sorts, including registry changes, but I just can`t seem to nail this!!