15.01.2014, 17:05
Besides all these previous comments, you have to make sure you don't mix up with CreateObject. As far as I am aware of, you cannot use both these functions in one script. If you have any CreateObject functions in your script, try to replace them with CreateDynamicObject.