title: Visual Basic - Check To See If Program Can Edit Registry
body: <p>I am working on a Visual Basic 2008 program that has to edit the computer's registry, but I want to add a way for the program to check to see if it has permission to edit the registry, and if it doesn't, I want it to inform the user. Is there a way to check to see if the program can edit the registry so that the program does not crash if it is not able to carry out its editing?</p>
  
  <p>Thanks in advance for your help! I am willing to try anything that you suggest.</p>