loDLL = NewObject("DEXLink.DEXLink") > >IF VarType(loDLL) <> "O" > *-- Error message goes here >ENDIFNo, because as soon as you check the object, it will create the instance.
Dim loUtility As dexutility.dexutility '<-- OK >Set loUtility = New dexutility.dexutility '<-- ErrorWhich error? Why does your component name and your class name the same? Did you create the component yourself? If so, what is the instancing property value?