Results 1 to 4 of 4

Thread: Data Transfer

  1. #1

    Thread Starter
    Hyperactive Member Emo's Avatar
    Join Date
    Jul 2000
    Posts
    428

    Arrow

    I wan to to do this:
    I have 2 text boxes on my VB form. I also have a hidden Web browser in my form that has loaded a web page which has another 2 text boxes (and a submit button). Well, how can I transfer the data that the user wrote from the textboxes in my Form to the text boxes on the site? If possible, how can I make it so after that is done, my VB program hits the "submit" on the web page? If the 2 text boxes are not filled out, maybe it will return a Message so the user fills out everying?

    Thank you!
    -Emo
    -=VB6 Enterprise Edition=-
    -=VC++6Enterprise Edition=-
    «¤E³m°O²™¤»

  2. #2
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Hi Emo,
    What method are you using to transfer the data, is it POST or GET. If you are using GET method then its easy to do. Just get the value from the user from your vb form and then just append it to the url.
    http://www.yourdomain.com/process.as...r&password=pwd

    Then use the WebBrowser control to submit it. E.g

    WebBrowser1.Navigate "http://www.yourdomain.com/process.asp?username=user&password=pwd"

    I assume you are submiting the content of the form to some kind of script, and you have two text box on the page called username and password.


    Hope this helps
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  3. #3

    Thread Starter
    Hyperactive Member Emo's Avatar
    Join Date
    Jul 2000
    Posts
    428

    Arrow yes

    Yes, I'm using a CGI script on my web form, but I'm using the POST method, not the GET, so is it going to be harder thing to do than the GET method?

    Thanks a lot
    -Emo
    -=VB6 Enterprise Edition=-
    -=VC++6Enterprise Edition=-
    «¤E³m°O²™¤»

  4. #4

    Thread Starter
    Hyperactive Member Emo's Avatar
    Join Date
    Jul 2000
    Posts
    428

    Talking Thanks

    Ok, I got what I wanted now, and everything works fine!

    Thanks!
    -Emo
    -=VB6 Enterprise Edition=-
    -=VC++6Enterprise Edition=-
    «¤E³m°O²™¤»

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