What you want to do would require some API calls, I believe. I wouldn't recommend that you force all of the user's apps to shut down, but you should be able to at least scan to see what programs are running and only continue if the list contains no extra programs in it.
Hopefully someone else can post some sample code (I don't use API calls myself) but if not, maybe knowing that this is what you must do can help you find what you need.
and put Enumerate in the Title box. You'll get back a couple of Utilities. "Enumerate Processes in Windows" even has a demo that looks a lot like the task manager's process
list in Windows NT/2000/XP.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.