| | |
Update user-level security (MS Access) in VB6
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Hello everyone, I am searching for help with a current problem involving MS Access and VB6.
My situation is this: I have a (rather large) program written in VB6 that uses an MS Access database. I have user-level security implemented on the database itself, which (though a not-often used capability) serves its purpose just fine. My issue is that I have changed the user-level permissions on a specific query in the database to allow third-party applications to access specific portions of my data. Users who install the newest version of my program are fine: the database is current, and the updated permissions on the query are correct.
The problem arises when users upgrade the program from a previous version; this is the case with nearly 95% of my customers. The query (which was still present in the older version) does not inherit the permissions of the new database. It is not feasible for every one of them to uninstall their current (out-dated) version of the application and start over with a clean install.
I assume that there is a way to access/modify user-level security on an MS Access database using DAO, or something of the nature, but I am unaware of the exact method.
If there is a way, DAO or otherwise, I would certainly like to know. Any help would be greatly appreciated.
Cheers,
MAB
My situation is this: I have a (rather large) program written in VB6 that uses an MS Access database. I have user-level security implemented on the database itself, which (though a not-often used capability) serves its purpose just fine. My issue is that I have changed the user-level permissions on a specific query in the database to allow third-party applications to access specific portions of my data. Users who install the newest version of my program are fine: the database is current, and the updated permissions on the query are correct.
The problem arises when users upgrade the program from a previous version; this is the case with nearly 95% of my customers. The query (which was still present in the older version) does not inherit the permissions of the new database. It is not feasible for every one of them to uninstall their current (out-dated) version of the application and start over with a clean install.
I assume that there is a way to access/modify user-level security on an MS Access database using DAO, or something of the nature, but I am unaware of the exact method.
If there is a way, DAO or otherwise, I would certainly like to know. Any help would be greatly appreciated.
Cheers,
MAB
![]() |
Similar Threads
- How to Configure Samba on RedHat Linux (*nix Hardware Configuration)
- XP Network can't share files or printer (Networking Hardware Configuration)
- How can i access data from MS Access using VB6 (I need the connection code) (Visual Basic 4 / 5 / 6)
- VB6 and MS Access Problem (Visual Basic 4 / 5 / 6)
- Batch File Question (Windows NT / 2000 / XP)
- VB6 & Access (user name, network printer, reminders) (Visual Basic 4 / 5 / 6)
- file sharing - why is 'access denied' (Networking Hardware Configuration)
- Samba Access Problem (*nix Software)
- How to set user rights in ms.access from vb6 (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Creating a time counter
- Next Thread: How the hell
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





