There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Need to catch the crash about missing privileges
Of course the program only works with administrator privileges. But when trying to save an edited HOSTS file without them, the program catches. At this place, you should catch the exception.
Also, on Vista, you have to require system privileges from UAC, my program does that with a manifest.