> I was wondering how feasible it would be to write an ActiveX/COM DLL
> that could be given a typelib at run time and expose the methods and
> properties defined therein to VBScript.
Well yes, in two steps.
For one, if you use CreateObject (either one), then all the
methods and properties will be available to your script --
at least all the PUBLIC methods and properties.
That leaves the constants (enumerated and otherwise). You
can access them it you write your script as a "wsf" (xml)
file, and then use a "reference" tag. The "reference" tag
reads through the typelib and makes the constants available
to your script as if you had declared them all.
You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
the answers will be applicable to the questions)