Forum Discussion
Colin_McCrae
11 years agoCommunity Hero
Check for iexplore.exe as a process and kill any/all instances of that before you start.
More guaranteed to clear it up killing the process than the application ....
Veroniquelu
11 years agoContributor
Ok, Thanks for the suggestion, it's working well so far :P
- Rocky00111 years agoNew ContributorCode for closing borwsers through TaskManager: Public Function CloseAllBrowser() On Error Resume Next Log.Message ("CloseAllBrowser Function Started") IExplore = Sys.FindAllChildren("ProcessName","iexplore",2) ' IExplore = Sys.FindAllChildren("ProcessName","iexplore") If UBound(IExplore)>=0 Then For i = UBound(IExplore) to LBound(IExplore) Step -1 IExplore(i).Terminate Next End If '******** ErrorHandling ********* If Err.Number <> 0 Then Call ErrMyErrorHandler End If '*************** Log.Message ("CloseAllBrowser Function Completed") End Function
- Veroniquelu11 years agoContributor
Thank you