I believe you can use one of the VB IDE's DLL's to do that, but I can't find the code anywhere