There's gotta be an API call that takes what you'd pass into the CreateObject function (ex: "Word.Application"), and looks it up to see if it's valid (or either resolve to a CLSID or return an error code). Does anyone know what it is?
Printable View
There's gotta be an API call that takes what you'd pass into the CreateObject function (ex: "Word.Application"), and looks it up to see if it's valid (or either resolve to a CLSID or return an error code). Does anyone know what it is?
go to http://www.vbaccelerator.com/codelib/inireg/regole.htm for some demo code doing Registry lookups that does what you're looking for.
Thanks, jim. That looks like it'll work.