I want to run Internet Explorer in background. I used this script and IE is opened but it's a visible window and not run in background.
On Error Resume Next
'Declare a new variable or array variable
Dim ie
'Create an InternetExplorer Object
Set ie = CreateObject("InternetExplorer.Application")
'Set objExplorer.Visible = True to make IE visible, or False for IE to run in the background
ie.Visible = False
'Navigate to Defined URL
ie.Navigate "http://localhost:9090/csv_reader/csv.php"
'Perform IE functions here......
If err.number <> 0 then wscript.echo err.number & ":" & err.description
I found this script on this platform. I tried but couldn't get a proper result. Can anyone correct this script and suggest to me how to solve it?
ie.Visible = False
working correctly and the IE browser does not get visible. I suggest close all existing IE windows and then try to run the above code sample. Check whether it works properly or not.