title: How to autologin using this vbscript
body: <p>The below VBScript opens the webpage but it is not entering the username and password. While executing username part, It throws the message "The interface is unknown". Please help me to automate the login</p>
  
  <p>
      Dim IE
      Dim Var</p>
  
  <pre><code>Set IE = CreateObject("InternetExplorer.Application")
  IE.Visible = 1 
  IE.navigate "www.webpage.com"
  WScript.Sleep 10000
  Set Var = IE.document.getElementByName("user").value = "myusername" 
  Set Var = IE.document.getElementByID("password").value = "mypassword"
  Set Var = IE.document.Forms(0)
  Var.Submit
  </code></pre>
  
  
  
  <p>The Page Source is given in the link  </p>