We have code somewhere that uses an old IE API based on DDE to
send it to a particular URL. Don't know it the docs are still
available, or whether the API included a "close window" feature.
I could search for it if you wish, but I thought it might be
useful to know that it used DDE.

--
Clifford Heath