Solved

authontify nt users throw VB6

Posted on 2003-10-25
7
236 Views
Last Modified: 2010-05-03
Dear experts,

Is there a way to verify user name and password from a windows 2000 workstation to a windows NT4 or windows 2000 server throw Visual Basic?

And if no with VB6 is it with VB.NET?

And if it is possible can I run this application when the windows 2000 is not Logged on.

Thanks in advance
0
Comment
Question by:LeDaouk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
7 Comments
 
LVL 39

Accepted Solution

by:
appari earned 125 total points
ID: 9621275
HOWTO article on MSDN,

HOWTO: Validate User Credentials on Microsoft Operating Systems
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q180548.ASP&NoWebContent=1


equivalent VB code you can get it here,

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=21391&lngWId=1

you can either convert the vb code to vb.net or make dll in vb and use it in vb.net.
0
 
LVL 9

Assisted Solution

by:Dang123
Dang123 earned 125 total points
ID: 9623523
Here is a description on doing it through VB (VB6 in this case)


http://www.mvps.org/vbnet/code/network/acceptsecuritycontext.htm
0
 
LVL 9

Expert Comment

by:Dang123
ID: 10309608
Between the posts here, LeDaouk should be able to get what s/he needs.
0
 
LVL 39

Expert Comment

by:appari
ID: 10317093

yeah i agree with Dang123.
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question