Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Entering an acount on a web-site, knowing the username & password

Entering an acount on a web-site, knowing the username & password

Scheduled Pinned Locked Moved C / C++ / MFC
c++comhelptutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dorutzu
    wrote on last edited by
    #1

    Hello! I have a little problem: I want to access an acount on the web(using IE), from my Visual C++(6) application, knowing the url, user-name & password. For example: url: http://mail.yahoo.com user: dorutzu pass: the_password All I want to happen is a new browser window to appear with my account opened in it. Any ideea how this can be made possible(for any web-site)? Thank you in advance...I'm waiting for your answers here or eventualy at dorutzu@yahoo.com :)

    D 1 Reply Last reply
    0
    • D dorutzu

      Hello! I have a little problem: I want to access an acount on the web(using IE), from my Visual C++(6) application, knowing the url, user-name & password. For example: url: http://mail.yahoo.com user: dorutzu pass: the_password All I want to happen is a new browser window to appear with my account opened in it. Any ideea how this can be made possible(for any web-site)? Thank you in advance...I'm waiting for your answers here or eventualy at dorutzu@yahoo.com :)

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Search MSDN for IE Automation.

      D 1 Reply Last reply
      0
      • D David Crow

        Search MSDN for IE Automation.

        D Offline
        D Offline
        dorutzu
        wrote on last edited by
        #3

        Unfortunately, that did'n help too much...if you could be a little more specific... 10x

        D 1 Reply Last reply
        0
        • D dorutzu

          Unfortunately, that did'n help too much...if you could be a little more specific... 10x

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Do you have MSDN? If so, just search for **"internet explorer" near automation**. You'll find plenty to get you started. Otherwise, go to http://search.microsoft.com/advanced_search.asp?siteid=us/dev[^] and search for the same thing.

          B 1 Reply Last reply
          0
          • D David Crow

            Do you have MSDN? If so, just search for **"internet explorer" near automation**. You'll find plenty to get you started. Otherwise, go to http://search.microsoft.com/advanced_search.asp?siteid=us/dev[^] and search for the same thing.

            B Offline
            B Offline
            basementman
            wrote on last edited by
            #5

            void CHtmlView::Navigate2( LPCTSTR lpszURL, DWORD dwFlags = 0, LPCTSTR lpszTargetFrameName = NULL, LPCTSTR lpszHeaders = NULL, LPVOID lpvPostData = NULL, DWORD dwPostDataLen = 0 ); I assume that the login page uses a

            , so you need to construct the post data parameter block and pass it as the lpvPostData param. As for opening in new window, see the lpszTargetFrameName param.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups