'
handle the exception' is the obligatory (and lame) answer.
You have to understand why the exception was thrown (the exception object itself produces a lot of useful info) and then properly handle it in your application.
If you are not experiencing the problem on
Windows XP
then possibly the execption occurs because your application hit the
UAC[
^], but that's just a wild guess.