I have a VB.Net program that creates and modifies a MS Excel spreadsheet as the program runs. Periodically, during development / debugging the VB.Net program, the Excel spreadsheet gets corrupted. What is left is a file that has the correct filename but the filename is preceded by: ~$
When I attempt to delete these files I get the following prompt:
Are you sure you want to move this system file to the Recycle Bin?
If you remove this file, Windows or another program may longer work correctly
I have two questions:
First is it safe to just delete these files?
Second: Could the fact that these files exist be slowing down the restart of my computer.
Ever since I have been testing this VB.Net program, and these corrupted files have been created, I have seen my computer take up to 15 minutes from the time I see "Starting Windows" until I am prompted for my logon password.