Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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:27 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.

 project:

             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

      GetObject(...)
      user.LastLogoff

 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.

                    (or)

           Give me ideas about the project


 my email id : [email protected]

 Advance thanks to you.
 Thankyou.
 
Old May 26th, 2004, 04:40 AM
Registered User
 
Join Date: May 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to FarCry Send a message via AIM to FarCry Send a message via MSN to FarCry
Default

have you tried running the application as an administrator?

If not, try it - you may get the results your after, if that works you can use impersonation within the application so it does not have to run as the admin

Mark Harris
FireDaemon
Web Application Developer





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 VB.NET 2002/2003 Basics 2 May 21st, 2004 01:40 PM
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.