well, for example, the internetexplorer.application object has a whole whack of properties, like VISIBLE and WIDTH and HEIGHT and others. normally, one would have to specify each property explicitly when referencing it, eg:

$ie.visible = 1
$ie.width = 500

but, usually, all COM objects have a DEFAULT property. This is the property that is referenced when NO property is specified, for example, if NAME is the default property for IE, you would just say:

?"name=" $ie

and out would come the NAME, which IS actually the default property for IE, NAME is the name of the object hosting the webbrowser control, in this case Microsoft Internet Explorer.

So, this is a good thing. But it means that we'll have to be conscious of this fact going forward... and especially given the fact the we destroy an object with this syntax:

$object = 0

not quite sure how Kixtart interprets this now, is this statement trying to set the default property, or destroy the object ?

-Shawn

[ 25 May 2002, 04:04: Message edited by: Shawn ]