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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. XML related in VB.Net

XML related in VB.Net

Scheduled Pinned Locked Moved Visual Basic
csharpxmlhelpquestion
5 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.
  • D Offline
    D Offline
    ddspliting
    wrote on last edited by
    #1

    We have different classes in System.Xml namespace in VB.net like XmlWriter and XmlReader... with the help of them we can retrieve different information from xml document. Is there any way to manipulate controls like textboxes, checkboxes ,radio and submitting buttons? like sending some data to a textbox or getting data which is linked with Submit buttons etc?

    A 1 Reply Last reply
    0
    • D ddspliting

      We have different classes in System.Xml namespace in VB.net like XmlWriter and XmlReader... with the help of them we can retrieve different information from xml document. Is there any way to manipulate controls like textboxes, checkboxes ,radio and submitting buttons? like sending some data to a textbox or getting data which is linked with Submit buttons etc?

      A Offline
      A Offline
      astanton1978
      wrote on last edited by
      #2

      Your question is kind of basic sounding, can you give a specific example of what you are trying to do?

      D 1 Reply Last reply
      0
      • A astanton1978

        Your question is kind of basic sounding, can you give a specific example of what you are trying to do?

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

        a website shows result of some entry test conducted but you can access it only by the userID, (a number). It has just a textbox and a submit button. you enter the userID and submit it and the data is displayed to you ! like ID NAME Marks obtained Percentage in that format! Now i want the entire result! I know that students were from id number 1 to 10,000! so in a loop i enter the id and retrieve the info linked with that id that is a student's result and I SAVE IT somewhere in a file like ms excel file or a word file. Its not something illegal cuz i can sit and start entering IDs and writing down the result and so on but that ll be too dumb! i need all the result by an auto way(though it ll still take a bit time, hours maybe ) . If any other legal way you ppl know than tell me...

        A 1 Reply Last reply
        0
        • D ddspliting

          a website shows result of some entry test conducted but you can access it only by the userID, (a number). It has just a textbox and a submit button. you enter the userID and submit it and the data is displayed to you ! like ID NAME Marks obtained Percentage in that format! Now i want the entire result! I know that students were from id number 1 to 10,000! so in a loop i enter the id and retrieve the info linked with that id that is a student's result and I SAVE IT somewhere in a file like ms excel file or a word file. Its not something illegal cuz i can sit and start entering IDs and writing down the result and so on but that ll be too dumb! i need all the result by an auto way(though it ll still take a bit time, hours maybe ) . If any other legal way you ppl know than tell me...

          A Offline
          A Offline
          astanton1978
          wrote on last edited by
          #4

          Firstly, i don't care if its illegal or not. But you do sound guilty :cool:=) Really though, you will need to use the WebRequest and WebResponse classes to programatically make requests and recieve responses to/from the site. Each response will need to be parsed so you get only the data you care about (no HTML tags, etc), and then you can save the result. There are a bunch of ways to do this, and a few dozen primers on using WebRequest, etc. Be Careful not to make it too efficient. If you loop 10K times in a few minutes you are doing the same as a Denial of Service attack and will either get in REAL trouble, or your IP blacklisted from the site. Wait a few seconds (10-15) between each request to simulate a human use and let it run over night.

          D 1 Reply Last reply
          0
          • A astanton1978

            Firstly, i don't care if its illegal or not. But you do sound guilty :cool:=) Really though, you will need to use the WebRequest and WebResponse classes to programatically make requests and recieve responses to/from the site. Each response will need to be parsed so you get only the data you care about (no HTML tags, etc), and then you can save the result. There are a bunch of ways to do this, and a few dozen primers on using WebRequest, etc. Be Careful not to make it too efficient. If you loop 10K times in a few minutes you are doing the same as a Denial of Service attack and will either get in REAL trouble, or your IP blacklisted from the site. Wait a few seconds (10-15) between each request to simulate a human use and let it run over night.

            D Offline
            D Offline
            ddspliting
            wrote on last edited by
            #5

            thanks! and i don't feel guilty:P actually someone else said like its illegal at some other post so i veta clear it at the beginning :D

            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