Solved

Determining the length of time that it takes for a web page to load completely; using C# and .NET framework?

Posted on 2004-10-08
6
175 Views
Last Modified: 2010-04-15
What's the best way to achieve this: "Determine the length of time that it takes for a web page to load completely; using C# and .NET framework?" Is it possible to determine how long DNS resolution took, in the process?

Thanks!!
0
Comment
Question by:erin010
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 8

Expert Comment

by:Razzie_
ID: 12265679
Hi erin010,

This MSDN article will cover a lot of what you need to know for measuring execution time: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto09.asp

HTH,

Razzie
0
 
LVL 10

Expert Comment

by:123654789987
ID: 12275422
U can use the TimeSpan function to achieve this functionality. U can also make use of Trace statements in the form_load function.
0
 

Author Comment

by:erin010
ID: 12282485
I think I did not present this question correctly.  I want to know how to download a complete web page (with all the pictures, and any other content) in a desktop C# application. There should be a way to track'start of page download' and 'end of page download'. Thanks!
0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 18

Accepted Solution

by:
armoghan earned 125 total points
ID: 12295603
If you are using MSHTML AxBrowser to download the page, it has document_complete event which you can use to see how much time it took to complete the HTML document download with all the Pics etc
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12295608
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12335566
Thanx for accepting :)
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question