Results 1 to 4 of 4

Thread: Windows NT Login

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Germany
    Posts
    15
    Hy programmers

    How can I display the Windows NT Logon with VB.
    To execute my App users need Administrator User-rights.
    I searched the msdn and the internet and I can't find any
    Solution for this problem.
    How can I solve this problem.

    Thanx for your help.

  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    You may need to write your app with an NT service. I don't know how to do this, so you'll have to ask someone else.

    The reason is this: when a user logs off, all apps (non services) are closed. You must log off to log on. Thus, you either write your app as a service to pop up when an admin logs on, or test if the user that ran the app has admin access, and refuse to load the app if proper access isn't present.

    Hope that helps.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Germany
    Posts
    15

    Smile

    Thanx for your post.
    I think it's not so easy to solve my problem.

  4. #4
    Guest
    I know that in 2000 you can modify a shortcut so it runs as a different user"

    Just go to the properties and check the "Run as a different user" box.

    i think there is something like that in NT to, this isn't really in the program but i might solve your problem.

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