Fill Web Browser Form

Posted on 2006-04-24
Last Modified: 2010-04-23
I'm using the web browser object to display a webpage with a form.  I would like to fill out the form via  I know the names of the HTML inputs.  And how to call the submit button?

Any help would be appreciated!  Thanks
Question by:jcbergman
    LVL 69

    Assisted Solution

    by:Éric Moreau
    Hi jcbergman,

    in one application I have used:

    LVL 85

    Accepted Solution

    This example fills in the textbox in the google search page and clicks the search button:

            AxWebBrowser1.Document.All.Item("q").Value = "Idle_Mind"

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now