umh
asked on
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.
ASKER
Please, don't send this again, I'm really interested in get the solution. Thanks.
ASKER
Please, don't send this again, I'm really interested in get the solution. Thanks.
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.
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.
ASKER
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.
'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.
ASKER
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
Code seems to be working for me
ASKER
are you ussing w95 or nt?
the error is 'entry point not found'
any idea?
the error is 'entry point not found'
any idea?
NT
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
http://www.netfokus.dk/vbadmincode/