|
-
Sep 25th, 2000, 04:35 AM
#1
Thread Starter
New Member
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.
-
Sep 25th, 2000, 07:17 AM
#2
Frenzied Member
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.
-
Sep 25th, 2000, 07:21 AM
#3
Thread Starter
New Member
Thanx for your post.
I think it's not so easy to solve my problem.
-
Sep 25th, 2000, 08:10 AM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|