VB6/ADO/Access97 Security 
Author Message
 VB6/ADO/Access97 Security

I have an application I am working on which has an Access97 database with
VB6 interface and Crytal Reports. The database is secured using Access
security, and the customer must have the ability to change his/her
password. I can not seem to get this functionality working. Here is the
code I am using:  

Function ChangePassword (sOld As String, sNew As String, sVerify As String)
As Boolean      
        ChangePassword = False

        Dim usr as ADOX.User    

        'Some verification code
        usr.Name = gCurrentUser         'Global variable initialized on login
        usr.ChangePassword sOld, sNew

        ChangePassword = True
'Error handler
End Function

The problem is the code executes with no problem except of course the
password is not changed. This is my first stab at the ADO security model.
I am a SQL Server guy used to the stored procedures and just learning the
ADO security model. Can anyone help.  Thanks in advance.

Ray



Wed, 06 Feb 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. ADO VB6 Access97 Unable to run Access Query -2147217900

2. VB6,Access97,ADO - Update query doesn't update all records

3. ADO VB6 Access97 Unable to run Access Query -2147217900

4. Seek method, Access97 database, ADO in VB6

5. VB6,Access97,ODBC,ADO too slow

6. VB6 ADO Access97 and data environments

7. Problem with Filter and Requery, VB6, ADO 2.0, Access97, Win95/98

8. VB6.Access97,ODBC,ADO too slow

9. ADO VB6 Access97 Unable to run Access Query -2147217900

10. VB6, ADO, and writing to an Access 2000 db with user level security

11. Need advice on Security - VB6 ADO 2.5 - jet 4

12. Need advice on Security - VB6 ADO 2.5 - jet 4

 

 
Powered by phpBB® Forum Software