If any one now.How to Create User Account In Vb.Net Windows Application.
manikandan22
0
Newbie Poster
Recommended Answers
Jump to PostI beleive this is what your looking for,
Module Module1
Sub Main()
'Create Account
On Error Resume Next
Dim strUser As String = "UserID"
Dim oDomain As Object = GetObject("WinNT://computername")
Dim oUser As Object = oDomain.Create("user", strUser)
If (Err.Number = 0) Then
oUser.SetInfo()
oUser.SetPassword("Password")
oUser.SetInfo()
End If'Add to addministrators
…
Jump to PostPlease specify more details....
Jump to PostHey creat a table and then verify users for more detail visit Click Here
All 9 Replies
Doogledude123
45
Posting Whiz
manikandan22
commented:
i can't create user account.use this code.did u know why this problem occur.i am using windows 7 os.
+0
poojavb
29
Junior Poster
manikandan22
0
Newbie Poster
sirasingh
0
Newbie Poster
Doogledude123
45
Posting Whiz
hashim ali
0
Newbie Poster
Noralyn_1
0
Newbie Poster
k9p_63
Doogledude123
45
Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.