View Single Post
Old 6th May 2011, 04:53   #5
Major Dude
Join Date: Oct 2006
Posts: 1,892
Originally Posted by EricTBoneJackson View Post
I check that the user has admin rights. What if he doesn't? Do I just abort?
Yes, you can throw a MessageBox and then call Quit.

As for it not working on your coworker's PC, you probably didn't have access rights to create the files and regkeys. At userlevel, you cannot write to $PROGRAMFILES or HKLM. You need to write to $LOCALAPPDATA and HKCU.
MSG is offline   Reply With Quote