03-29-2012 10:24 AM
Greetings,
I develop LabVIEW executables for internal use. We have a very loose IT policy. When our techs are running my LabVIEW programs, I want Windows 7 Internet Explorer disabled, or closed when the LabVIEW executable is running. I am thinking that there must be a way to have LabVIEW look for any open Internet Explorer Windows, and close them every 10 seconds or so. Any ideas of how to accomplish this?
Thanks, Alan
03-29-2012 11:40 AM
You can use Web Browser ActiveX object to stop IE browser during your application running.
http://msdn.microsoft.com/en-us/library/aa752085(v=vs.85).aspx
Or
Stop IE Browser Windows Service.
03-29-2012 01:33 PM
@puneet K wrote:
You can use Web Browser ActiveX object to stop IE browser during your application running.
http://msdn.microsoft.com/en-us/library/aa752085(v=vs.85).aspx
This will not stop an Internet Explorer that's been launched by the user. It only applies to an embedded IE ActiveX control.
Stop IE Browser Windows Service.
What IE Browser Windows service? There is no such thing.
To OP: You can:
Of course, this won't stop somebody from using Firefox, or using an app-on-a-stick approach by putting a browser like Firefox or Chrome on a USB stick.
Usually in these cases education goes farther than you trying to prevent somebody from running something like a web browser.