Ok. I've done a couple of things. I tried making the method the very first action in Form_Load to rule out any other code screwing it up. That didn't work. Then I tried deleting the file in the first line of the method. That also didn't work. So then I tried deleting the file in the first line of Form_Load. That worked. No idea what that worked though. It's not a solution, but for some reason I can delete the file outside of the method, but not inside. I'm still playing around with it.