Results 1 to 11 of 11

Thread: View Page Source & Return Form Object ID's

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2010
    Posts
    4

    View Page Source & Return Form Object ID's

    How would I go about checking a page for form objects and returning all of the object ID's?

    I don't even know how to return page source..so go easy on me please.

    Any help is greatly appreciated.

  2. #2
    Addicted Member
    Join Date
    Nov 2006
    Location
    Minnesota
    Posts
    235

    Re: View Page Source & Return Form Object ID's

    Why do you need to get all the object IDs? What is it you are trying to do?
    If someone has helped you, please make sure to rate them.

  3. #3
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: View Page Source & Return Form Object ID's

    Hey,



    I think demausdauth is right. Can you give some information about what exactly you are trying to achieve. Are you talking about getting the source of a page through code? If so, it is likely that an HttpWebRequest would be your best bet, but we are going to need more information.

    Gary

  4. #4

    Thread Starter
    New Member
    Join Date
    Mar 2010
    Posts
    4

    Re: View Page Source & Return Form Object ID's

    I am going to make a little bot that will allow users to type in common information (First, Last, Address, Email, Etc). They then can navigate to sites that are giving stuff away, and just use a drop down menu to select the relative text box(via the form id) and then they click "Go" and the bot fills all of the proper information in and submits it.

  5. #5
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: View Page Source & Return Form Object ID's

    Hey,

    Interesting.

    So are you talking about creating a Windows application to do this, or a Web Page?

    Gary

  6. #6

    Thread Starter
    New Member
    Join Date
    Mar 2010
    Posts
    4

    Re: View Page Source & Return Form Object ID's

    honestly...either one is fine. is there really a difference in what needs to be done?

  7. #7
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: View Page Source & Return Form Object ID's

    Quote Originally Posted by joshh131 View Post
    I am going to make a little bot that will allow users to type in common information (First, Last, Address, Email, Etc). They then can navigate to sites that are giving stuff away, and just use a drop down menu to select the relative text box(via the form id) and then they click "Go" and the bot fills all of the proper information in and submits it.
    Sorry.. but we don't support creation of bots. I won't be surprised if one of the moderators closes this thread or remove some posts.
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  8. #8

    Thread Starter
    New Member
    Join Date
    Mar 2010
    Posts
    4

    Re: View Page Source & Return Form Object ID's

    might have been a bad word to define it...how about "Automated Form Filler"? Doesn't do anything illegal or break any TOS.
    There are just a lot of people that sign up for 3 or more free samples every single day. Thought it would be useful if they only had to type all of that crap once.

  9. #9

  10. #10
    Frenzied Member brin351's Avatar
    Join Date
    Mar 2007
    Location
    Land Down Under
    Posts
    1,293

    Re: View Page Source & Return Form Object ID's

    There are also businesses/websites that hook up with retailers and pay people to subscribe to them and they automatically sign you up for the samples - as long as you provide feedback about the product.

  11. #11
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: View Page Source & Return Form Object ID's

    Quote Originally Posted by joshh131 View Post
    honestly...either one is fine. is there really a difference in what needs to be done?
    Not really, each one would likely need to make a Request to the page, to find out what form items need to be filled in, and then make another Request, providing all the information.

    This could either be done by automating a WebBrowser control, or directly making an HttpWebRequest to the page in question.

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width