There's a more correct version but very similar in the EventVB OCX control (source included) at Merrion Computing Downloads that uses the RegisterMessage API call to create its own message to communicate with the NotifyIcon and is therefore safe to use without interfering with your existing form events.

HTH,
D.