basic sin...
doevents is just string keeping inside the actions which are pending to carry out.
so when you do:
$Form.DoEvents(1)

it will output that string.
correct line:
$=execute($Form.DoEvents(1))
_________________________
!

download KiXnet