I'm working on a method of automatically importing constants and enums.

I'm looking for a way to get from the object to the typelib, for example
"word.document" -> "c:\program files\Microsoft Office\Office10\MSWORD.OLB"

I just can't see how to associate the registry entries.