VB6:  Changing passwords in MS Access

Posted on 2003-03-03
Medium Priority
Last Modified: 2010-04-07
Hello everyone!

I am currently developing a VB6 program that uses MS Access.  I have set up user names and passwords on the MS Access database.  I would like the VB program to have the capability of changing the user's Access password.

Does any one know how this can be done?  If so, would it be possible to provide some example code?

Question by:mckelly2002
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 17

Expert Comment

ID: 8056803
I think you can do this using ADOX.  You can create/delete users & groups.  Then add users to groups.  You can setup passwords too.

If you have used ADOX before you will find it easy.  

LVL 26

Accepted Solution

EDDYKT earned 200 total points
ID: 8056919

Author Comment

ID: 8057332
Thanks to both of you,

Eddykt, I couldn't connect to the link provided. Is there any other sites I can visit?

Inthedark, I will try the ADOX and get back to you.

Thanks again,

LVL 26

Expert Comment

ID: 8057349
I've no problem to connect to that link
May be you need to join, It is free anyway

The link use ADOX, ADO and VB to change Access password

Author Comment

ID: 8120588
Thanks guys.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question