View Single Post
  #11 (permalink)  
Old February 27th, 2004, 02:31 PM
mendy mendy is offline
Registered User
 
Join Date: Feb 2004
Location: Astoria, NY, USA.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

although, Phil's reply was great. I combined his reply with other stuff that I knew and I came up with something like this. And now I don't have to open the web page within my program, it can stand for itself, which is what I really want it to do.

Dim web As WebBrowser

Private Sub Form_Load()

   Set web = New WebBrowser
   Set web = CreateObject("internetexplorer.application")
   web.Navigate2 "http://webmail.juno.com/"

end sub

Private Sub FillForm()

   web.Document.Forms(0).LOGIN.Value = "Login ID"
   web.Document.Forms(0).Password.Value = "password"
   web.Document.Forms(0).submit
   web.Visible = True

end sub

Reply With Quote