Hi,

What is the difference between

dim objXXX as Comp.XXX
set objXXX = new Comp.XXX

and

dim objXXX as Object
set objXXX = createobject("Comp.XXX")

???

I found that I have two COM from two MTS, I can use either method for one of the COM but only method 2 for the other COM.
Any idea?

Thx