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. Visual Basic
  4. how to submit information to a web page with vb.net

how to submit information to a web page with vb.net

Scheduled Pinned Locked Moved Visual Basic
csharphelptutorialquestion
2 Posts 2 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.
  • E Offline
    E Offline
    eyes2007
    wrote on last edited by
    #1

    hi all i have a webbrowser control, and i m trying to store all information about the user.(the ids, passwords etc) when user first time use my application, second time when user opens my application all work has been done automatically ( all the things like open site, enter the id and password, go to the inbox, download attachment automatically. for confidential things like passwords i can ask the user to enter, but i still trying to explore how can i send this information back to the site. i tried to get the form which contain the textboxes that contain the id and password and the go button, but i m unable to get the values of those and enter my values in those textboxes. i have found some articles on the same that use the code (but i think that's from vb6 ) With mybrowser.document .All.Item("login").Value = "myloginid" .All.Item("passwd").Value = "mypassword" .Forms(0).submit End With i can find the form that contain the id and password fields with If Me.WebBrowser1.Document.Forms(1).Name = "loginform" Then does some one has any idea then please let me know. thanks in advance

    help everyone

    D 1 Reply Last reply
    0
    • E eyes2007

      hi all i have a webbrowser control, and i m trying to store all information about the user.(the ids, passwords etc) when user first time use my application, second time when user opens my application all work has been done automatically ( all the things like open site, enter the id and password, go to the inbox, download attachment automatically. for confidential things like passwords i can ask the user to enter, but i still trying to explore how can i send this information back to the site. i tried to get the form which contain the textboxes that contain the id and password and the go button, but i m unable to get the values of those and enter my values in those textboxes. i have found some articles on the same that use the code (but i think that's from vb6 ) With mybrowser.document .All.Item("login").Value = "myloginid" .All.Item("passwd").Value = "mypassword" .Forms(0).submit End With i can find the form that contain the id and password fields with If Me.WebBrowser1.Document.Forms(1).Name = "loginform" Then does some one has any idea then please let me know. thanks in advance

      help everyone

      D Offline
      D Offline
      DigiOz Multimedia
      wrote on last edited by
      #2

      Take a look at the DigiOz Post To Web Form DLL. It does exactly that (includes source code and a demo project). You can get it here: http://www.digioz.com/dlls.php[^] Scroll about half way down the page and you will see it. :)

      Pete Soheil DigiOz Multimedia http://www.digioz.com

      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