When you use only one argument (the progid) , then WScript.CreateObject,
(jscript) new ActiveXObject, and (vbscript) CreateObject all accomplish the
same thing. It's when you get to the purpose of the 2nd argument that they
diverge. WScript uses it to support event sinking. The other two use it
for DCOM support (at least they're supposed to --- it doesn't work in
version 5.0 but will be in version 5.1).
--
Michael Harris
Enrico Bernardini <enr...@cli.di.unipi.it> wrote in message
news:375F737B...@cli.di.unipi.it...