Results 1 to 3 of 3

Thread: Filling in FFA forms!

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    1

    Exclamation

    Hello,

    Can anyone tell me how to transfer text from a text box, to an
    embedded website in a Visual Basic Program?

    Example:

    I have a simple program, with a web browser in it, and then 3 text boxes.
    One text box for "Title" one for "URL" and one for "EMAIL ADDRESS"

    Basicially, this is a web page submission program, but smaller, more for
    FFA pages. An example of an ffa page.. which is what i am trying to
    fill in, is here. http://clubverona.com/ffapage.html

    I would like to be able to fill in the the form in my program ... and then, click the
    "Fill in" command button, and have the info filled in on the web page.

    If that is not possible.. I would like to be able to click my mouse in the field that
    I want filled in and then click a button in front of each field, say "URL" and have
    the "URL" section of the form in the web page.. filled in automatically.

    I have attached my "virus free" simple project.. titled "submitter.zip"

    Any help would be great.

    Thanks,
    Dave C.

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    264
    You can have the VB program to open a webbrowser window (using the webbrowser control) and in the webbrowser.nevigate you put "xxx.com?textfield=blabla"

    in your ASP page you can put in:

    <input name="txtfield" values="<%response.write (request.querystring ("textfield"))%>
    In the beginning the universe was created. This has made a lot of people very angry and is generally regarded as a bad idea.

    - Douglas Adams
    The Hitchhiker's Guide to the Galaxy

  3. #3
    Frenzied Member seoptimizer2001's Avatar
    Join Date
    Apr 2001
    Location
    Toledo, Ohio USA GMT -5
    Posts
    1,075
    Check out this link about inserting values into HTML forms on web pages, it is not up right now for some reason, but will be soon:

    http://www.planetsourcecode.com/xq/A...s/ShowCode.htm

    Or you can use the Sendkeys method to tab through the page to each text box and assign the value from your form to a string and input the string using sendkeys and use it to press enter as well:

    SendKeys "{TAB}"
    SendKeys strYourString
    SendKeys "{TAB}"
    SendKeys strNextString
    SendKeys "{TAB}"
    SendKeys "~" or "{ENTER}"

    Hope this helps

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