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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:45:49+00:00 2026-05-30T17:45:49+00:00

I hope I can get some help. I’m trying to create an host based

  • 0

I hope I can get some help.
I’m trying to create an host based application using C# (in the simplest way) to monitor access to a web page from the computer that hosts the application, if this web page is accessed while the program is running an event should rise.
So far I have used the SHDocVw.ShellWindows() but it works only if the web page has already been accessed not while is being accessed.
It monitors Windows Internet Explorer

I have also researched the httplistener but to no avail.

Do you have any solution?
Please let me know if you require more details

  • 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-30T17:45:50+00:00Added an answer on May 30, 2026 at 5:45 pm

    After few hours of work I have found a solution, not the most elegant one so far,(and at times causes a memory dump) but it does what I need.
    Thanks

    Just last edit, I solved the crash issue by adding a time so it checks the page every sec or so.
    once again thanks for your iterest in my question.

    class wait
    {
    
        private static System.Timers.Timer aTimer;
       public  void timed1()
        {
    
            // Create a timer with a ten second interval.
            aTimer = new System.Timers.Timer(10000);
    
            // Hook up the Elapsed event for the timer.
            aTimer.Elapsed += new ElapsedEventHandler(OnTimedEvent);
    
            // Set the Interval to 2 seconds (2000 milliseconds).
            aTimer.Interval = 2000;
            aTimer.Enabled = true;
    
            Console.WriteLine("Press the Enter key to exit the program.");
            Console.ReadLine();
    
    
        }
    
    
        private static void OnTimedEvent(object source, ElapsedEventArgs e)
        {
    
            //NetKeyLogger klog = new NetKeyLogger();
            // Console.WriteLine("The Elapsed event was raised at {0}", e.SignalTime);
            Kelloggs.Program KKA = new Kelloggs.Program();
    
    
            SHDocVw.ShellWindows shellWindows = new SHDocVw.ShellWindows();
            string filename;
    
            foreach (SHDocVw.InternetExplorer ie in shellWindows)
            {
                filename = Path.GetFileNameWithoutExtension(ie.FullName).ToLower();
                if (filename.Equals("iexplore"))
                {
    
                    string ddd = (ie.LocationURL);
                    // Console.WriteLine(ddd);
    
                    if (ie.LocationURL == "http://www.testPage.com/")
                    {
                        Console.WriteLine("Page found");
                        // Console.ReadLine();
                        aTimer.Enabled = false;
                        KKA.Maino();
    
                    }
                }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi and good evening, hope someone can help. I am trying to get some
I am trying to create a chrome extension using HTML5 WebSockets and can't get
I hope somebody can help me. I've been trying to write a custom html
I’m new to JQuery and I hope some experts can help me with a
I'm new here and I hope I could get some help with an Android
hope someone can help. I have two tables: Users -UserID -UserName UsersType -UserTypeID -UserID
I hope you can help me. I have a web service that needs to
I hope you can help. This has been confounding me for hours. I have
I hope someone can help me with this, as I'm unable to find the
I hope someone can help here, we're having an incredibly annoying time with Visual

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.