Hi,<BR><BR>I have a problem where by I have created a DLL which contains some common functions. I call the CreateObject method in an ASP file and the creation of the object works fine. <BR><BR>When i attempt to do the same thing in a .vbs file which i run from the command line, i get an error 'object variable not set 800a005b'. <BR><BR>I think that this should be able to work, as i can do the same thing with the ADODB stuff, but cannot work out why my own does not work.<BR><BR>Any ideas????? I am really lost on this one.