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 371635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:08:00+00:00 2026-05-12T14:08:00+00:00

I have a simple C# WinForms Crud AP for employees that have to do

  • 0

I have a simple C# WinForms Crud AP for employees that have to do a lot of simple web lookups. Currently it loads 5 websites and puts a search term into the clipboard. The employee then has to paste the search term into the search textbox on each of the sites and hit enter. Is there a simple way to enter the data for them? The search textbox usually has focus when the sites load, I just cannot find a way to detect when the page has loaded or how to send the data to the window.

It looks, from these helpful answers, like I was going about this the wrong way. I was using code found with the help of my good friend, Mr. Google

System.Diagnostics.Process.Start("www.website.com");
Clipboard.SetText(textBox1.Text, TextDataFormat.Text);

I will do some more research this week on the webbrowser control

  • 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-12T14:08:01+00:00Added an answer on May 12, 2026 at 2:08 pm

    You can use WebBrowser’s DocumentCompleted event to be notified when the page has finished loading.

    If the textbox you’re entering your text into has a unique id, you can use WebBrowser.Document.GetElementById:

    webBrowser.Document.GetElementById("some_id").InnerText = theSearchText;
    

    GetElementById returns an instance of HtmlElement (or null, if the element wasn’t found). Note that “.InnerText” might not work for all element types, there’s also InnerHtml and lots of other properties, I’d recommend playing around with the HtmlElement class before deciding how to use it.

    Let me know if you don’t have a unique id for the element, there’s lots of otherways to find an element. including using the exposed DOM via Document.Body.

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

Sidebar

Related Questions

I have developed a simple C# Winforms application that loads MS-Word 2007 documents via
I have simple WinForms application where modifying Windows Registry. The problem is that in
I have a simple winforms application that I am connecting to my database with
I have a .NET Winforms web browser control that is rendering some application information,
I have simple WinForms GUI that I want to use with TabPages. The problem
I have a VERY simple C# Winforms project that I made using Visual Studio
I have made a simple test application for the issue, two winforms each containing
i have some WinForms app (Framework to develop some simple apps), written in C#.
i have some WinForms app (Framework to develop some simple apps), written in C#.
I have simple php validation form that is halfway working. If you leave the

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.