Hi, I know this hasn't been looked at for a while but i just stumbled across it and and its pretty much what I've been looking for the only problem is when i tired to use it i got this error,

Function 'ResizeKb' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.

Sorry im kinda new to this, please could you let me know where i went wrong?
if it helps im trying to use it in visual studio 2010



Thanks Jason