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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:23:38+00:00 2026-06-14T00:23:38+00:00

In .net there are some .net classes which uses IE component.By them we can

  • 0

In .net there are some .net classes which uses IE component.By them we can read htmldom and do login and data scraping.
Kindly can any body give me the name of those classes /assemblies where it is present.I myself used it to login and data scrapping quite a way back

  • 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-06-14T00:23:40+00:00Added an answer on June 14, 2026 at 12:23 am

    I were able to it richard’s.Just minor thing about HTMLTableRowCollection is left from HTMLTable.
    My code is like following

            object o = null;
            InternetExplorer ie = new InternetExplorerClass();
            IWebBrowserApp wb = ie;
            wb.Visible = chkShowBrowser.Checked;
            wb.Navigate("http://LoginPage.aspx", ref o, ref o, ref o, ref o);
    
            do
            {
                Thread.Sleep(10000);
            } while (wb.Busy);
    
            if (ie.Document != null)
            {
                var myDoc = ie.Document as HTMLDocument;
    
                if (myDoc != null)
                {
                    var oUserName = (HTMLInputTextElement)myDoc.getElementById("ctl00_MainBodyPlaceholder_PublicPortalLogin_UserName");
                    oUserName.value = ConfigurationManager.AppSettings.Get("userName");
    
                    var oPassword =
                        (HTMLInputTextElement)
                        myDoc.getElementById("ctl00_MainBodyPlaceholder_PublicPortalLogin_Password");
                    oPassword.value = ConfigurationManager.AppSettings.Get("password");
    
                    var btnSubmitLogin =
                        (HTMLInputElement)myDoc.getElementById("ctl00_MainBodyPlaceholder_PublicPortalLogin_Login");
                    btnSubmitLogin.click();
    
                    do
                    {
                        Thread.Sleep(10000);
                    } while (wb.Busy);
    
    
                    if (ie.Document != null)
                    {
                        wb.Navigate("http://SearchPage.aspx", ref o, ref o, ref o, ref o);
    
    
                        do
                        {
                            Thread.Sleep(10000);
                        } while (wb.Busy);
    
    
    
                        if (ie.Document != null)
                        {
    
                            var oIncidentNumber =
                                (HTMLInputTextElement)
                                myDoc.getElementById("ctl00_MainBodyPlaceholder_txtIncidentNumber");
                            oIncidentNumber.value = ConfigurationManager.AppSettings.Get("incidentNumber");
    
                            var btnTicketNumberSearch =
                                (HTMLInputElement)myDoc.getElementById("ctl00_MainBodyPlaceholder_btnSearch");
                            btnTicketNumberSearch.click();
    
                            do
                            {
                                Thread.Sleep(10000);
                            } while (wb.Busy);
    
                            HTMLTable searchResultTable = myDoc.getElementById("ctl00_MainBodyPlaceholder_gdView_DXMainTable") as HTMLTable;
    
    
    
                            if (searchResultTable != null)
                            {
                                //foreach (var VARIABLE in searchResultTable.T)
                                //{
    
                                //}
                            }
    
                            if (chkRenderBody.Checked)
                            {
                                txtFinalTextBox.Text = myDoc.body.outerHTML;
                            }
                        }
                    }
                }
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In .NET Framework, there are some classes which use SomethingCollection syntax. For example, when
Are there some good tools that can analyze the performance issues in an asp.net
I'm using .net. Is there some code somewhere that can change $11,456.50 -> eleven
I'm trying to update some older software which uses the now-declared-obsolete System.Web.Mail classes. Unfortunately,
I am trying to avoid using Net::SSH::Perl library since there is some problems in
Is there any Library for .NET that returns SPARQL results in some structured List
Is there anything like asp.net transactions in Android SQLite? I am doing some processing
Is there a simple way, without .NET? I've found some libraries but none for
I have a asp.net mvc application. Some pages require SSL, is there a way
I have an ASP.NET MVC application which is using Linq to SQL classes placed

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.