BrainDump
  Home arrow BrainDump arrow Using VBScript to Record User Logon/Logoff...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Using VBScript to Record User Logon/Logoff Activity in a Database
By: Luke Niland
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 4
    2007-06-05

    Table of Contents:
  • Using VBScript to Record User Logon/Logoff Activity in a Database
  • Building the Database
  • Main Update Function
  • Calling the Function

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Using VBScript to Record User Logon/Logoff Activity in a Database


    (Page 1 of 4 )

    One of the more painful procedures a help desk person (or system administrator) has to go through involves doing tech support for a remote user. Very often we don't have enough information about the user at our fingertips to be able to help them effectively. What if we had all that information easily available in a database? This article explains how to add the information you need using VBScript.

    The main purpose of this article is to give you the tools you need to manipulate data in a database using VBScript.

    The steps taken here describe how we would go about adding user login/logoff information into a Microsoft Access database, but you could use the techniques here for other purposes.

    Where has that user gone...

    Imagine the scene: a user rings up telling you they are having a problem with their system. They are using a terminal server, and are situated at a remote site. Half of your phone call could be taken up trying to find out what terminal server they are on, what applications they are running, or even if they are logged on at all!

    Wouldn't it be so much easier if you could just look into a simple database or web page, and find out exactly all those details, just by knowing the user's login name? Well, if we are clever with our logon/logoff scripts, we can do just that.

    We can then take this idea further, and use the same database to hold versions of software that the user has installed. You could use this to ensure they are using the correct versions of everything.

    More BrainDump Articles
    More By Luke Niland


       · Hi,First a quick side note about how the article came about. I worked in an...
     

    BRAINDUMP ARTICLES

    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection
    - Advanced Firebug Techniques in Windows XP Ho...
    - Editing CSS with Firebug in Windows XP Home
    - Using Firebug in Windows XP Home
    - Migrating to Exchange Server 2007
    - Using System Restore on a Non-Bootable PC
    - Finding Logged on Users and More Scripting S...
    - Developing Macro Commands in MS Excel





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek