tags:

views:

49

answers:

1

I need to close down a VPN window using visual basic script. My normal port of call would be too look through the process list and close the correspoding process. Unfortunately this does not work in this case as the associated process is explorer.exe!

Is there anyway to achieve this?

A: 

A hackish way to do it is to get it's WindowClass via Spy++ then send it the wm_close message...

Arnshea