Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detecting if IE is running

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am trying to write a script for a kiosk that will every x seconds detect if IE is running. If it is not open another IE window. If it is just wait until the next cycle to check if it is running.

What I am tring to do is set up a kiosk that has nothing on it no desktop or start menu. It will be just used for surfing and if someone closes IE I would like it to pop back up.

Thanks for any input you can give!!!
 
Instead of going to all the trouble of detecting IE, why not just run IE "forever" from your script?
Code:
Option Explicit

Dim oShell
Dim i

Set oShell = CreateObject("WScript.Shell")
For i = 1 to 3
  'Run IE, maximized, wait on return (completion).
  oShell.Run "iexplore.exe", 3, True
Next

Set oShell = Nothing
Just replace the For loop with a
Code:
While True ... Wend
loop.

You might also be interested in IE's "kiosk" mode. See
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top