Solved

authontify nt users throw VB6

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

774 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