Make sure you follow the pattern outlined here - http://msdn.microsoft.com/en-us/library/w369ty8x(VS.80).aspx