I'm not to sure if that is a good idea changing registry just to disable the default beep. What happens if your app crashes for some reason? If you don't do the right error correcting it will stay the same until your users change it back.

Just something to think of.