Hi,
You should be able to do using the VBProject object. You need to reference Microsoft Visual Basic For Appilcations Extensibilty objects. The VBProject object has a References collection that I'm presuming will let you edit and change the list of references of a project.
If you do searches include VBIDE as thats the collective name of the objects in Microsoft Visual Basic For Appilcations Extensibilty library.
If you get it working post the code if you can I'd like to see how it's done. That would be quite interesting.
www.dsmyth.net/blog |