[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 722
  • Last Modified:

objexplorer.quit ?

i have the following script

dim objExplorer : SET OBJEXPLORER = CreateObject("InternetExplorer.Application")
objExplorer.Navigate "http://web/job.asp?update=1"   
objExplorer.ToolBar = 0
objExplorer.StatusBar = 0
objExplorer.Width=600
objExplorer.Height = 600
objExplorer.Left = 0
objExplorer.Top = 0
objExplorer.Visible = True

Wscript.Sleep 10000
objExplorer.Quit

which works to s fashion but returns a popup message saying

"the web page you are viewing is trying to close"

I don't want this to appear or i would like to shut this also, or return a YES.

CAn't seem to find the solution
0
Rbauckham69
Asked:
Rbauckham69
1 Solution
 
Michel PlungjanIT ExpertCommented:
Since it is wscript I will give you a possible method
objExplorer.Visible = True
objExplorer.Opener = "self"

Wscript.Sleep 10000
objExplorer.Quit

let me know if it worked
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now