Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 6th, 2006, 07:58 PM
dt_aiying dt_aiying is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 93 dt_aiying User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 13 h 58 m 8 sec
Reputation Power: 4
User Identification System

Hi everyone,

I've been assigned to develop a system for PC users identification.. The system would prompt users for their username and password in three situations (then stores these data into a database):

(1) During PC boot-up
(2) During PC logoff
(3) During system idle for more than 5 minutes

I've managed to find some solution for situation (3).

Does anyone here know how I can find solutions for situations (1) and (2)?

Any help at all will be greatly appreciated.

Thanks very much!

Reply With Quote
  #2  
Old March 9th, 2006, 08:01 AM
blade54015 blade54015 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 2 blade54015 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 52 sec
Reputation Power: 0
no but when you find out tell me

Reply With Quote
  #3  
Old March 9th, 2006, 01:01 PM
LozWare's Avatar
LozWare LozWare is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Jun 2005
Posts: 531 LozWare User rank is Sergeant Major (2000 - 5000 Reputation Level)LozWare User rank is Sergeant Major (2000 - 5000 Reputation Level)LozWare User rank is Sergeant Major (2000 - 5000 Reputation Level)LozWare User rank is Sergeant Major (2000 - 5000 Reputation Level)LozWare User rank is Sergeant Major (2000 - 5000 Reputation Level)LozWare User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 4 Days 10 h 56 m 31 sec
Reputation Power: 46
Send a message via MSN to LozWare
I have no idea about log-off, but the log-on can be done easily by making the program run on start-up, and logging the user when the program is executed.

You can use the registry to do this...
Path: HKLM/Software/Microsoft/Windows/CurrentVersion/Run
Entry Name: Title of your application
Entry Value: Path of your application

Well that's #1 sorted, now here's how I would do #2...
I would make a field in the sessions table called 'Last Active'. I would then have the program write to that Field with the current date and time every 5 mins. That way you can tell more-or-less when the user logged off.
__________________
LozWare Website Directory

Whooo! Free submissions, no recip needed. I'm a nice guy

Reply With Quote
  #4  
Old March 22nd, 2006, 04:50 AM
dt_aiying dt_aiying is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 93 dt_aiying User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 13 h 58 m 8 sec
Reputation Power: 4
Hi everyone,

LozWare, thanks for the guidelines. Appreciate it!

This system's developement is currently under way..

I've found out that I can do the setting for logon (#1) without using the any codes..
All I need to do is just use the "Scheduled Tasks" at "Control Panel" and select the system's EXE file to be executed on logon.

Now, as for logoff (#2), the requirement is such that the system should still prompt PC users for their login ID and password, when they are attempting to log off from the PC. (Please note that currently, the PCs are running on Win NT) LozWare, I'm afraid that I cannot implement your method for (#2), as my superior has insisted that the it should be carried out in the method mentioned here.

I've found out that perhaps, I can use the VB form's event QueryUnload for detecting PC logoff (#2). How do I get this done? Any suggestions? I've never used QueryUnload before. Please help.

Thanks in advance for any help at all. Will appreciate it very much.

~Deborah

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > User Identification System


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT