IsObject Variable Testing Function
IsObject lets you work with OLE objects and ActiveX objects. Be sure your object was set up properly before trying to give it commands.
If your object is called MyObject then you could say:
if IsObject(MyObject) then
(do stuff with it)
end if
ASP Variable Testing Functions