Wrox Programmer Forums
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 16th, 2004, 06:37 AM
Registered User
Join Date: May 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Challenging questions...

hai everybody,

 im doing a project on windows networking.


             i have to track login time and logout time for every user, connected to my server. It should not be a webbased one.
i have to maintain this as a database. I have to do it in Visual Basic or Visual c++ (.Net). And also current user's list in my server.

 I have tried , like NetServerEnum , all functions in msdn.
 But i didn't get correct result.

 i have also used "ADSI" like


 But i can't get LastLogoff time.

 Questios :

 1 . How to get last logoff time ?
 2 . How and when to run the programe ( Because i have to get login time . so it should be run , when user logged in)

 3 . How to get login,logout time for every user?
 4 . How to get current user's list in my server?
 5 . Give me the solution in Visual.Net based.


           Give me ideas about the project

 my email id : [email protected]

 Advance thanks to you.
Old May 17th, 2004, 09:25 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts

You posted this question three times? Four Times? I'm not even going to look at ot at this point.

Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
Old May 21st, 2004, 01:40 PM
Authorized User
Join Date: May 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts


You need to stop looking at this problem with programmers eyes.

You need to get hold of a LAN admin. There is VB script that you can use for this.


1. have the lan person run your program that grabs their login name and time when they login - the lan team can run certain files each time someone logins in.

2. Logging out - I guess you could put script in windows shut down but you will have to hit the reg for that on all your machines.

is that a good start ?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Few challenging Data structure questions in C pradeep_itguy C++ Programming 11 June 28th, 2009 04:48 AM
Challenging questions... rguru VS.NET 2002/2003 1 May 26th, 2004 04:40 AM
Challenging questions... rguru VBScript 0 May 16th, 2004 06:36 AM
Challenging questions... rguru Beginning VB 6 0 May 16th, 2004 06:35 AM
Challenging questions... rguru VB How-To 0 May 16th, 2004 06:35 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.