Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

VB6 Login to websites w/ Inet?

how can i log into a site like gaiaonline through Inet controls?

2 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    Start a new VB6 project. Add the Microsoft Internet Controls to your project. Place a command button and a webbrowser control on your form. Name the webbrowser control wb. Add this code to the command button, for example, to login to gmail:

    wb.Navigate2 ("https://gmail.google.com")/

    While wb.ReadyState <> 4

    DoEvents

    Wend

    wb.Document.All("Email").Value = "joe@aol.com"

    wb.Document.All("Passwd").Value = "P4$$w0rd"

    wb.Document.All("signIn").Click

  • ?
    Lv 4
    5 years ago

    My VB forte lies in .asp, even regardless of the actuality that its fantastically a lot an same as VB6, i will't quite bear in mind if it helps consultation Variables. you're able to do some thing like this: i assume you're querying a username/password from a database, or maybe you've one unmarried username/password problematic coded into the source code. If from a database, then: If recordset1.eof Then consultation("logincounter") = consultation("logincounter") + a million end If If consultation("logincounter") = 3 Then go out

Still have questions? Get your answers by asking now.