VBS file not able to open Internet Explorer

musicgold

New Member
Messages
1
Hi,

I am facing a few issues since an automatic update. First my Brother Scanner software started acting up. I tried a couple of times to do a system restore but it didn't work. I suspected a virus so I ran the anti-virus /malware programs recommended by majorgeeks.com - malware bytes, hitmanPro, rougekiller etc.

Now I am noticing that my VBS files are no more able to open Internet Explorer ( I have IE11). I made sure that simple vb scripts such as Msgbox "Hello World" are working fine.

When I run a simple script like the one below, the IE doesn't pop up. The taskmanager, however, shows that the process of Microsoft Windows Based Script Host is running.

How do I fix this?

Thanks.



Code:
 On Error Resume Next
 Dim ObjIE

  Set ObjIE = CreateObject("InternetExplorer.Application")

    With ObjIE

    .Visible = 1
    .navigate "www.google.com"
  
     Do While .Busy: DoEvents: Loop
     Do While .readyState <> 4: DoEvents: Loop

  End With
 

My Computer

System One

  • OS
    Windows 8.1
    Computer type
    Laptop
    System Manufacturer/Model
    Dell
    CPU
    Intel i5
Back
Top