Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 676557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:56:29+00:00 2026-05-14T00:56:29+00:00

I would like my custom browser to auto fill in a form when it

  • 0

I would like my custom browser to auto fill in a form when it is completely loaded

Ok so inside

   private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
    { }

Ive inserted the following statements

webBrowser1.Document.GetElementById("FirstName").SetAttribute("value", "John");
webBrowser1.Document.GetElementById("LastName").SetAttribute("value", "Smith");
// etc..etc..

I noticed that “webBrowser1_DocumentCompleted” only is loaded one time?? How do i make my browser auto fill in a form when the document has finish loading, and auto fill the values to the define values if they have been changed by the end user.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T00:56:29+00:00Added an answer on May 14, 2026 at 12:56 am

    auto fill in a form when the document has finish loading
    You need to skip the documentcomplete events triggered frames. Hint: check the webbrowser’s status property.

    auto fill the values to the define values if they have been changed by the end user.
    In the Navigating event handler, get the form values and save them somewhere, preferably after encryption.

    If you do not provide your own password storage and want to use Windows’s, check http://social.msdn.microsoft.com/forums/en-US/winformsdesigner/thread/db373409-9366-47bd-bdf0-79493ffa0f22/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to add a custom calculation method to a managed object (which
I have custom placeholders in a textarea and I would like every browser to
I would like to use the WebKit web inspector in a custom browser based
I would like to launch my custom app from web browser. I have found
I would like to add custom attributes to a MySQL table which I can
I would like to read custom setting which i have done in ServiceConfiguration.cscfg &
I would like to have a custom view in my application that consists of
I would like to create a custom control in order to display a pie
I would like to make the custom UISlider, something like this |o----------| -> |-----O------|
I would like to place a custom view in the bottom of the main.xml

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.