Well just searching on this site gave me some responses to this question, a google search on
vb.net how to write to the event log
brought up a ton of things. And last but not least have you used the help feature in Visual Studio? I looked for
"write to event log"
and got some interesting material. In other words, did you make any attempt to figure it out and you don't understand something or do you just want us to do it for you?
(I'm not trying to be a jerk, I'm actually trying to help.)
*hint, within the items I have stated there is a block of code that would be extremely useful to you.