Re: How to close a WMEncoder application programmatically?



You could use WMI:
http://bloggerdigest.blogspot.com/2007/01/wmi-scripts-terminate-windows-program.html

"Helen" <Helen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2D8900FB-0014-4D05-A6C5-EB833A3F43B8@xxxxxxxxxxxxxxxx
I didn't see any function in either WMEncoder or WMEncoderApp which can
close
a WMEncoder application. Set WMEncoderApp.Visible=false can only make the
application not show, but the processes WMEncAgt.exe and wmenc.exe are
still
running.

Is there a way to exit a WMEncoder application programmatically? Thanks!

Helen


.