Results 1 to 10 of 10

Thread: double request

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Posts
    138

    double request

    hi gurus

    I have a project that I ned help with, I hope someone can pont me to the right direction.

    I have a web page that I need to log in, the first page is not a problem I can log in as it only has the company name to enter, but from here is where I have problems, as when the first page is done, I am directed to a second page with two fields that has to be filled, filename and author, then depending on the action you have to click on in button,out,button delay button, here is where I need help, how do I fil the second page fields and how to chose the right button depending the action to take.

    Thanks gurus

  2. #2
    Lively Member
    Join Date
    Apr 2010
    Location
    York, Uk
    Posts
    103

    Re: double request

    Can you be more explicit with your query, What does this have to do with VB.net, Are you trying to code a webpage.. If so this should be in ASP.net?

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Posts
    138

    Re: double request

    J. Thanks for the reply and sorry for the confusion

    1) there is a web page that I need to access but instead of doing it manually everytime I would like to write an application in which the parametersare pass and the first page logged in.

    2) once I pass the first page there is another page that as for two more parameter and depending on the action I wouldlike to take, I click on IN(button) OUT(buttom) or DELAY(buttom)I would like to do all this frommy application. how do I send the right parameters and the click event depending on the action.

    Thanks in advance

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Posts
    138

    Re: double request

    no one else?

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

    Re: double request

    Examine the page source. Does it use GET or POST method to accept data from user?
    Accordingly build your querystring (from code) and submit. If page uses GET then the plain querystring would be acceptable. In case of POST, you would need to convert the querystring to byte array before submitting.
    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...

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Posts
    138

    Re: double request

    P.

    Is POST.

    can you point me to the right direction on where can I find more information on how to deal with project.

    Thanks a bunch.

  7. #7
    Lively Member
    Join Date
    Apr 2010
    Location
    York, Uk
    Posts
    103

    Re: double request

    bitearray = StrConv(s, vbFromUnicode


    Something like that..

  8. #8
    Lively Member
    Join Date
    Apr 2010
    Location
    York, Uk
    Posts
    103

    Re: double request


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

    Re: double request

    I recently made an app I'm about to submit in this forums CodeBank that does something similar to what you are trying to do. It logins to a website and gets data from some protected website areas. Unfortunately I'm not at home right now, so can't post it immediately. I'll post back as soon as I reach home.
    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...

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

    Re: double request

    OK. I posted in the Utility Bank.

    Please have a look at this:
    http://www.vbforums.com/showthread.php?t=618818
    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...

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