Designing a Windows Application / Saving the Web Monitor Project
Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.
Learn More
Subtitles of the Movie
As you can see over here, there's nothing in the machine name property and that just means that this service will be running from the local machine and if we go into service name, we want to look for the World Wide Web Publishing Service and I happen to know that the short name for that is w3svc and so this service controller is now tied to w3svc and we can programmatically check its Properties window including whether or not it's currently running. So our service controller is all set up and I just remembered there's a couple more things we need to do before we finish up our user interface. We should properly name these two labels. We'll name this one Last Access Time label and we'll name this one Time Since label, so just a recap, we have a number of labels on our form some of which are going to have changing values, we've got a number of radio buttons on our Form1 set inside a group so that the user can set certain settings on this application and I think from the way we've described them its pretty obvious what the purpose of these things is going to be. We've got a couple of buttons, one to start, one to stop the application. We've got a timer control that lets us measure the intervals between when the application started and every so often, it will tie this to our choices here for measuring every 1 minute, every 10 minutes, and every 60 minutes and we've got a service controller that lets us find out the status of a service of our choice and in this case we're going to be checking on the World Wide Web Publishing Service that's running on our server. But before we go on to that part of our project, let's go ahead and save everything in our project. So I think now we're ready to get to the actual coding part.
Tutorial Information
| Course: | Microsoft Visual Studio .NET |
| Author: | Dave Mercer |
| SKU: | 33420 |
| ISBN: | 1932072276 |
| Release Date: | 2003-04-01 |
| Duration: | 7 hrs / 101 lessons |
| Work Files: |
Yes |
| Captions: | For Online University members only |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |
VTC Sign up & Benefits
- Unlimited Access
- 98,729 Video Tutorials (23,265 free)
- Video Available as Flash or QuickTime
- Over 1026 Courses
- $30 for One Month Access
- Multi-User Discounts Available
United States 