|
-
Dec 1st, 2009, 06:59 PM
#10
Re: Add application to files context menu and send selected files as parameters
If you don't have an error handler (and this applies to every part of your program) and an error occurs, the user will know about it... because they will see an error message (which might not make sense to them), then your program will simply exit.
With an error handler you can choose whether or not a message is shown, what the message contains (including the Admin text if you like), and what happens afterwards.
It generally isn't a good idea to deal with known issues with an error handler (using pre-emptive checks is normally the right way), but things like IsUserAnAdmin can have unexpected behaviour - I think somebody found recently that it returns True in some cases where it shouldn't have.
Those registry keys look right to me, but I haven't checked.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|