Same results. I can cick on the "Exit Button" but nothing happens. Is the $= Execute($Form.DoEvents(1)) in the right location?


Code:
 Do

Sleep 0.5
If $exitapp.tag=1
$= Execute($Form.DoEvents(1))
$item=$listview.items.add
$Item.SubItems(0).Text = ("User Aborted Session")
$ExitApp.Tag = "1"
Quit 1
EndIf
Until
Exist ($locallog+$log)

_________________________
I haven't failed. I just found another way that did not work.