VB搞手帮忙,我需要在ASP上面增加计算机用户,我找到个组建编译不成功
http://www.webasp.net/article/18/17474.htm
谁帮我看下应该怎么改
帮你编译了一下
VB中使用的例子,添加test用户,密码为test,并添加到Administrators组。 Option Explicit Dim sysUser As clsSysUserPrivate Sub Command1_Click() sysUser.UserAdd "", "test", "test" sysUser.AddUserToGroup "", "Administrators", "test" End Sub
Private Sub Form_Load() Set sysUser = New clsSysUser End Sub
Private Sub Form_Unload(Cancel As Integer) Set sysUser = Nothing End Sub