How to automate web login?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Trying to automate a web login (username and password) to a Yahoo group.
The purpose is to automate the download of a setup file.
I have tried with a reference to MS Internet controls in Excel and it is no trouble to get to the website:


   Dim IeApp As InternetExplorer
   Dim sURL As String

   'Create new instance of IE
   Set IeApp = New InternetExplorer

   'Make it visible - some things don't work
   'unless it's visible
   IeApp.Visible = True

   'define the page to open
   'sURL = "http://groups.yahoo.com/group/xxxxxx/";

   'navigate to the page
   IeApp.Navigate sURL

   'Pause the macro using a loop until the
   'page is fully loaded
   Do
   Loop Until IeApp.ReadyState = READYSTATE_COMPLETE

How though do I pass a username and password?
I understand that these can be given as part of the URL, but can't figure out the right syntax for this.
Thanks for any advice.



RBS

.



Relevant Pages

  • How to automate web login?
    ... Trying to automate a web login (username and password) to a Yahoo group. ... Dim IeApp As InternetExplorer ... Dim sURL As String ...
    (microsoft.public.vb.general.discussion)
  • Re: Automate "Get External Data" over HTTP with a BasicAuth protected ressource
    ... > I don't recall the exact syntax off the top of my head but it was ... If a that URL needs credentials ... if I try to automate that process using ... >> username and password via InputBoxes? ...
    (microsoft.public.access.externaldata)
  • Re: microsoft terminal server
    ... i would like to know if there is a way to create a python script for ... automate mstsc.exe username and pwd credential, ... to store your username / password and use an .rdp ...
    (comp.lang.python)
  • Re: Automate Task scheduler password change
    ... > button at the Run as field of each jobs in my task scheduler. ... You may not need to automate this after all. ... one password for every different UserName. ... from the GUI, only the creator. ...
    (microsoft.public.win2000.general)