Cor, just an FYI:
I finally got a chance to take a look at the Resource Kit you spoke of.
There is a "How-To Create a Login Dialog Box" that is pretty slick. But, it
does NOT prompt for a Windows username/password. It only works with a
custom username/password from a backend db or xml. (There is a checkbox to
slide by authentication if you are logged in as an administrative account
into windows, but it doesn't prompt for and check your windows password.)
I have made something that queries AD and does want I want, but I was hoping
for a MS perspective on how to do this.
(Even though the user is already logged onto the computer, we have a
requirement that they must log into the app to proceed. And we want to reuse
the username/password info already in AD.)
Thanks,
Greg
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:OC****************@TK2MSFTNGP12.phx.gbl...
Pepi,
Do you know there is a complete sample in the VB resourcekit about your
question.
Create a Login Dialog Box
VB.net Resource kit
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx
And if you have problems installing the resource kit
http://msdn.microsoft.com/vbasic/vbr...q/#installvdir
I hope this helps?
Cor
I am trying to use the Windows user/password combination to grant or
deny access to my application. For this I want to display a login
dialog window requesting the userID and password and submit these two
to Windows (98 / 2000 / XP) and obtain back a confirmation or denial
of the access.
Any help will be appreciated. Code sample even more.