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
Solved

authontify nt users throw VB6

Posted on 2003-10-25
7
234 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
  • 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

829 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