ok i ran it and i got the following.

quote:

Win2k
U:\temp>kix32 test2

create: ie=1331388 error=0 The operation completed successfully.
navigate: rs= error=0 The operation completed successfully.
visible: rs=0 error=0 The operation completed successfully.
hit any key to continue...
loopbusy: error=0 The operation completed successfully.
document: doc=1456a4 error=0 The operation completed successfully.


Win95
U:\temp>kix32 test2

create: ie=4466612 error=0 The operation completed successfully.
navigate: rs= error=0 The operation completed successfully.
visible: rs=0 error=0 The operation completed successfully.
hit any key to continue...
loopbusy: error=0 The operation completed successfully.
document: doc=?V error=0 The operation completed successfully.



I also came up with a similar biy of code yesterday

code:

$false = 0
$true = -1

$ie = olecreateobject("internetexplorer.application")
? "$Ie <--- this is the handle for the IE exe that was just opened."
; Set properties and display form ...
$nul = oleputproperty($ie, "addressbar","s","$false")
$nul = oleputproperty($ie, "menubar", "s", "$false")
$nul = oleputproperty($ie, "toolbar", "s", "$false")
$nul = oleputproperty($ie, "statusbar", "s", "$false")
$nul = oleputproperty($ie, "resizable", "s", "$false")
$nul = oleputproperty($ie, "top", "s", "100")
$nul = oleputproperty($ie, "left", "s", "200")
$nul = oleputproperty($ie, "height", "s", "165")
$nul = oleputproperty($ie, "width", "s", "275")
$nul = oleputproperty($ie, "visible", "s", "$true")
$nul = olecallfunc($ie, "navigate", "s", "about:blank")

while olegetproperty($ie, "busy") <> "0" and @error = 0 loop

; Get a handle to the open document ...
; $doc = val("&" + olegetproperty($ie, "document"))

? olegetproperty($ie, "document") + " <--- this is the handle for the IE Document should be a hex#"
? @serror



Bryce