I know this doesn't help, but there's this one:
https://vborg.vbsupport.ru/showthread.php?t=303388 but it's for vb3. I had always meant to make a vb4 version but never got around to it. If anyone else wants to do it they would be welcome to use my code (although to be honest the code is kind of ugly, and the vb4 registration process is different, so it's not as easy as just updating the templates. I'm not sure how useful the vb3 code really is for starting a vb4 version).