Sorry about that it's the same but forgot to change it in the other one. Thank anyway.
>I am not a master of VBS or JSbut what I notify is that you create different objects in VB
>set oImport = WScript.CreateObject(("DLLCom.Class")
>in JS
>var oImport = WScript.CreateObject("DLLCom.Class");.
>
>By the way I didn't think that here is a right forum to ask that question
Mathias Banda
Time is longer than a rope.