Results 1 to 6 of 6
  1. #1
    Pavloo is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2017
    Posts
    4

    How to open/develop Access with password & Shift key protection

    Hello
    I have to resolve a problem with MS Access 2010 application.
    With MS Access/VBA I have very little experience.


    This application has a password. But I do not know it (I am able to remove it via XVI32.exe application).
    Application has also enabled Shift key protectioin option.
    Navigation window and the menu bar are disabled.


    How can I get into this app to develop it?


    What did I do so far?
    I removed the password from the application. However, I still can not enter into the VBA editor, because I can not open it to edit (Shift key protection).


    Another approach - I opened a new empty database and import all the elements from original application - then I could edit the application, view/edit the VBA code. However, the application does not work properly (some operations crashes). I suspose that the bugs are the result of importing application to a new one (but I could wrong).


    So is there any other way to open/edit/develop this original application?
    Is it possible to disable the Shift key protection without necessity editing VBA code (I am not able to get in there)?


    Any help would be appreciated.


    Regards
    Pavloo

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    its possible you did not import everything. hence the crash. (relations, schema,etc)
    Normally, shift key disables the macros at start, so when you say disabled shift key protection,
    do you mean you disabled the shift disable? Which means Shift key does not work to disable?

    in the immediate window, Ctl-G,
    CurrentProject.Properties.Add "AllowBypassKey", true

    or run it in vb code in any form.

  3. #3
    Pavloo is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2017
    Posts
    4
    I think, that I imported everything.
    When I said/asked how to 'disabled shift key protection' I meant that in oryginal application it works fine and when I try to open application with pressed down Shift key it opens normaly.
    And I can't go into VBA editor.
    But my aim is to go into VBA editor.


    So is it possible to switch off this Shift key protection on oryginal application (not using VBA in immediate window)?
    Because as I wrote earlier - when I import Application with all components, I have many errors like 'Run-time error 3326 This Recordset is not updateable'.
    On oryginal app there are not any errors like that. It's occured after importing application.

  4. #4
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Can you Alt + f11 to open the VBA Editor?

    Evidently it can be done thru a macro - don't use them myself but here is an explanation:
    https://support.office.com/en-us/art...3-33042953a5f9

    You can also open this database from another database and set this option.

    (When you import objects from an Access database, at the bottom of the import window there are more options and buttons to select, these are often forgotten or bypassed.)

  5. #5
    Pavloo is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2017
    Posts
    4
    Well, Alt+F11 does not work.
    I do not know why.

    Earlier when I imported objects from that Access to a new one, I selected all options. And even that, some operations in application crashed.

    Any other suggestions how can I enable "Alt + F11" in original Access application?

  6. #6
    Pavloo is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2017
    Posts
    4
    I have just solved my problem.
    This helped me:
    https://answers.microsoft.com/en-us/...c-c96a793f641e

    Thanks for all yours suggestions!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Access DB does not open with correct password
    By charitha in forum Security
    Replies: 6
    Last Post: 06-17-2017, 03:07 AM
  2. Password Protection With a Table
    By surfdragon in forum Security
    Replies: 5
    Last Post: 01-23-2017, 11:56 PM
  3. Password protection
    By elico in forum Programming
    Replies: 7
    Last Post: 03-27-2016, 04:35 PM
  4. Password Form With Enable/Disable Shift Key
    By burrina in forum Code Repository
    Replies: 0
    Last Post: 12-24-2012, 10:53 PM
  5. Password protection
    By peshonzi in forum Forms
    Replies: 1
    Last Post: 07-07-2011, 04:09 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums