Results 1 to 3 of 3

Thread: Windows 95 OR NT login from VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    Springfield, MO
    Posts
    2

    Exclamation Windows 95 OR NT login from VB

    I work for a very large hospital and our library is having problems with unauthorized users logging into their PCs to access the internet. They do not want the users to have to log into the PC. Instead, they would like a screen-saver to determine if their login is valid or not. Currently, I have created the entire screen-saver app, but am still not able to figure out how to determine if the userid / password are valid in our NT domain. I am willing to do whatever it takes to get this functionality into the application (ActiveX, IIS, MTS, grannie's bloomers, whatever). I do not want to ask them to create and maintain 100+ student accounts & 200+ physician & nurse accounts.

    Any ideas would be helpful.

  2. #2
    jim mcnamara
    Guest
    Screen savers that lock the PC until a pasword is given is no big deal.

    Call the LockWorkStation api:
    Code:
    Private Declare Function LockWorkStation Lib "user32.dll" () As Long
    Private Sub Form_Load()
        'KPD-Team 2000
        'URL: http://www.allapi.net/
        'E-Mail: [email protected]
        LockWorkStation
    End Sub
    The only way to unlock is to log in.

    Then create one or two accounts -
    username: nurse pwd:whatever
    username:doc pwd:whatever

    give these accounts/passwords to the staff. you only need generic accounts, not one account for each user.

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    Springfield, MO
    Posts
    2

    Exclamation Windows 95 OR NT login from VB

    The reason the application is being written is so we can know who is surfing the internet at what time. We need to be more specific about who is logged in. They also want to be able to unlock the workstation for a generic account only from the main terminal in the library.
    Last edited by kroe01; Aug 13th, 2001 at 06:18 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width