well, just from a testing stand-point, try this:

code:
break on

... usual stuff ...

$Form.Show(1)
$Form.ShowInTaskBar = 0
While $Form.Visible
$=Execute($Form.DoEvents)
Loop

Thats the piece I was missing - it has to be in the taskbar to hide it. Will keep working on this though...

[ 18. November 2002, 01:40: Message edited by: Shawn ]