HELP NEEDED: CREATING NEW USER 
Author Message
 HELP NEEDED: CREATING NEW USER

Hi:

    I have problems when I want to create a new user in VB6. I write this
code:

        Private thisuser as User
        Private thisgroup as Group

        Private Sub Form_Load()
            DBEngine.SystemDB=App.Path & "\system.mdw"
        End Sub

        Private Sub commandnew_Click()
            Dim name, pid, password as String
            name="User1"
            pid="User111"
            pasword="Userpwd"
            Set thisuser = Workspaces(0).CreateUser(name)
            thisuser.pid=pid
            thisuser.password=password
            Workspaces(0).Users.Append thisuser

            When the compiler arrive to last line I have an error and it
says:
"You haven't  the permissions needed to use the 'Tables' object. The
system's administrator or person who created the object has to establish the
correct permissions"

            I don't understand it because I connect like administrator.
PLEASE help me.
                            THANKS
                                            RAQUEL



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. I need help with a datediff problem ( a fairly new user who needs help)

2. Help needed by new user

3. New User - Need Help

4. New user needs help with attached tables

5. New PB31 user needs help

6. New VB User Needs Help

7. new user needs help

8. Help needed by vbdb new user

9. New User Needs Help

10. New Visual Dbase User Needs Help

11. New VB user needs a little help

12. New User VB5 - Need help with datagrid / Graphing

 

 
Powered by phpBB® Forum Software