Well the object is an ActiveX Executable.
I'm running it on Win98 and when I look in the taskmanager it's listed.
When I use the $Value.kill, it's completely
unloaded and not visible in the taskmanager.
Only the "if $value" still returns true.
Knowing that the component is gonna get a bit bigger I want to add a while loop to see if it has unloaded before I copy the file.
What I used now (which doesn't work):
While $value
sleep 2
Loop

How can I solve this?
If I'd use $value="" then I can't see if it has really unloaded the component.

John