Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 3rd, 2005, 11:30 AM
Registered User
 
Join Date: Mar 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to monitor Website Info from Windows Applicati

Hi all friends and developers…

I am trying to develop a Windows Application in C# that will opens new instance of Internet Explorer when the user choose start Recording from the Action menu. That’s done so far using:

private void openNewIE()
{
    try
    {
        myProcess = Process.Start("IExplore.exe", "about:blank");
        // Display physical memory usage 5 times at intervals of 2 seconds.
    }
catch(Exception ex)
    {
        Console.WriteLine("The following exception was raised: ");
        Console.WriteLine(ex.Message);
    }
}
private void miStartRecording_Click(object sender, System.EventArgs e)
{
// check to see if the IE is already opened
    // if closed just open it
    if (myProcess.HasExited)
    {
        openNewIE();
    }
    // if opened just close it and open it again with a fresh page
    else
    {
        // Close process by sending a close message to its main window.
        myProcess.CloseMainWindow();
        // Free resources associated with process.
        myProcess.Close();
        openNewIE();
    }
}

Then when the user type in the URL address in the address bar of that instance of IE or navigating to new sub links of the main page... then the Windows Application can start monitor and record information about the web page being visited...

For example the Windows application can record:

URL of the page
Title of the page
Method used GET of POST
Cookies is there any
Names and Values of the Web Forms Control submitted to the server if possible.
Etc…

Have any one idea about what class can do the job, what methods…
If you have any idea or general advice to start me up with “no matter how much small" please advice and I will be very much thankful
Greetings
Aws





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can we extend the precompiled & deployed applicati amolchikurte ASP.NET 2.0 Professional 1 August 23rd, 2007 09:28 AM
How to monitor Website Info from Windows Applicati Awsok VB.NET 0 March 4th, 2005 09:44 AM
How to get info on Website form Win Application?! Awsok VS.NET 2002/2003 0 March 3rd, 2005 11:31 AM
Move XML files from Windows to Website ocarroll General .NET 10 December 21st, 2004 06:30 AM
Monitor Outlook as a windows service steve-o General .NET 0 September 13th, 2004 09:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.