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

  • Home
  • SEARCH
  • 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 50597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:37:06+00:00 2026-05-10T16:37:06+00:00

I am tasked with a project whereby I need to create a scaled down

  • 0

I am tasked with a project whereby I need to create a scaled down version of a Firebug like UI where the user can load an HTML page, and as they hover the mouse over the elements they’ll be highlighted. The app will allow the users to select a table to be screen-scraped….haven’t got to that part as yet.

Any advice?

Thanks

  • 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. 2026-05-10T16:37:06+00:00Added an answer on May 10, 2026 at 4:37 pm

    Well, I haven’t used the Firebug UI, but I have done exactly what you describe using the .NET 2.0 WebBrowser control in a WinForms app.

    Basically I added the WebBrowser and a Timer control to the form then in the timer elapsed event, I query the mouse position using the GetCursorPos native function and use the WebBrowser.Document’s (HtmlDocument class) GetElementFromPoint method (adjusting the x and y position to be relative to the browser control).

    This returns whatever HtmlElement is under the mouse position. Here’s the meat of the method:

    HtmlElement GetCurrentElement() {     if (Browser.ReadyState == WebBrowserReadyState.Complete && Browser.Document != null)     {         Win32Point mouseLoc = HtmlScan.Win32.Mouse.GetPosition();         Point mouseLocation = new Point(mouseLoc.x, mouseLoc.y);         // modify location to match offset of browser window and control position:         mouseLocation.X = ((mouseLocation.X - 4) - this.Left) - Browser.Left;         mouseLocation.Y = ((mouseLocation.Y - 31) - this.Top) - Browser.Top;          HtmlElement element = Browser.Document.GetElementFromPoint(mouseLocation);          return element;     }      return null; } 

    After you get the HtmlElement, you can get the InnerHTML to parse as you see fit.

    Richard

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

Sidebar

Ask A Question

Stats

  • Questions 68k
  • Answers 68k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Andrei Zmievski (developer of the memcached plugin) kindly answered my… May 11, 2026 at 12:14 pm
  • added an answer Take your connection strings out of the main web.config and… May 11, 2026 at 12:14 pm
  • added an answer The C# compiler does not care about the config file… May 11, 2026 at 12:14 pm

Related Questions

I am tasked with a project whereby I need to create a scaled down
I am tasked with updating a family of web sites that promote scientific conferences
I am tasked with developing a web application and am thinking of using the
I am tasked with moving quite a few web apps including the databases to
I am tasked with improving the performance of a particular page of the website
I'm not much of a Visual Basic person, but I am tasked with maintaining
I currently am tasked with updating an XML file (persistance.xml) within a jar at
I am a .Net developer that has been tasked with upgrading a classic asp
I've just been tasked with building a web application using ASP (.net) and am
I am tasked with writing an authentication component for an open source JAVA app.

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.