Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 6th, 2007, 10:51 PM
Registered User
 
Join Date: Sep 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Password Protected IE

hi guys,

I want to develop an application that logs the Internet Explorer (IE) usage time and the person who use it.

to do this, i need the application to runs or popup the login interface when user open the IE. when user closes all the IE windows, then the application will logout itself and at the same time logs the usage time.

how can i do this in C#??


thanks..
Reply With Quote
  #2 (permalink)  
Old September 7th, 2007, 04:25 AM
Registered User
 
Join Date: Sep 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry,I don't Know!But I feel it is not hard!:)

Reply With Quote
  #3 (permalink)  
Old September 7th, 2007, 07:47 AM
Authorized User
 
Join Date: Nov 2006
Location: Valparaiso, IN, USA.
Posts: 94
Thanks: 0
Thanked 1 Time in 1 Post
Default

I would consider writing a service that starts automatically when the computer starts. This service would check periodically, say once a minute, for the IEXPLORE.EXE process. You could then gather info about the process and write it to a database or a text file or an encrypted data file. You will need another application to report on the data you gather.

If you have never done it before writing a service can be challenging. I would recommend that you put most of your code in a library class that you can test from another application since testing a service can be tricky.

Depending on the IDE you are using you may find a templte for developing services otherwise you can check out:

http://msdn2.microsoft.com/en-us/library/76477d2t(VS.80).aspx

for instructions on writing a service from scratch.

Have fun!

What you don't know can hurt you!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Password protected files southernsun VB How-To 7 August 23rd, 2007 04:53 AM
Password protected directory somnath.kartic ASP.NET 1.0 and 1.1 Basics 1 April 18th, 2006 01:49 PM
Connect to password protected Database abhisheksud ASP.NET 1.0 and 1.1 Basics 2 October 7th, 2005 04:43 PM
Password Protected Forums spooky012017 Dreamweaver (all versions) 4 July 24th, 2004 02:19 AM
Password protected message board thutt Dreamweaver (all versions) 4 March 19th, 2004 05:00 AM



All times are GMT -4. The time now is 01:14 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.