I have database only with password and I true to open with VB5. The mesages that dysplay ai "not valid password". How to solwe this problem.
Printable View
I have database only with password and I true to open with VB5. The mesages that dysplay ai "not valid password". How to solwe this problem.
Pedja
Try posting the source code where you're generating the error.
Bash
Dear in the connect property of data control write ;UID=userid;PWD=yourpassword
I hope this will work
Okay, if your problem is with loggin like an user, you can use the code above. If your problem is with an DATABASE password use this.
--[CODE]---
Dim Data As Database
Dim wrkJet As Workspace
Set wrkJet = DBEngine.Workspaces(0)
Set Data = wrkJet.OpenDatabase(App.Path & "\DATA.MDB", False, False, ";pwd=DUDE")
---[END]---
This is for database passwords...
You saved my life.....