Adding users to Windows NT Server

I need to know how to make a function in Visual Basic 5.0 in order to add users to Windows NT Server 4.0, including adding him to a domain and linking that user to a profile and several groups. It must run in W95 and Windows NT.
umhAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
MirkwoodCommented:
Take a look at this site. It contains kinds of code about administrating NT including what you want

http://www.netfokus.dk/vbadmincode/
0
 
umhAuthor Commented:
Please, don't send this again, I'm really interested in get the solution. Thanks.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
umhAuthor Commented:
Please, don't send this again, I'm really interested in get the solution. Thanks.
0
 
MirkwoodCommented:
I'll give you one more try.

Look at the website I gave you:
http://www.netfokus.dk/vbadmincode/codevb.html

Take a look at the account project that can be downloaded. It is very good and includes VB source code.
0
 
umhAuthor Commented:
I've tried several projects and I get always the following error:
'runtime error 453' when a function of the netapi32.dll is invoked. It occurs in w95 and w98. Nowadays I don't have visual basic in Win NT.
0
 
umhAuthor Commented:
I've tried the account project and I get the 453 error in NetServerEnum function. Do you know why? netapi32.dll is in windows\system
0
 
MirkwoodCommented:
Code seems to be working for me
0
 
umhAuthor Commented:
are you ussing w95 or nt?
the error is 'entry point not found'
any idea?
0
 
MirkwoodCommented:
NT
0
 
MirkwoodCommented:
0
 
umhAuthor Commented:
Thanks a lot Mirkwood, now that I knew how to make the application in VB they have change their mind and they want I make it in MSC++. Thanks once again, you have take a lot of effort in this question.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.