Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239

    MS DAO library

    I scrolled down and selected Microsoft DAO but got this message: "Name conflicts with existing module, project or library"



    I want to prevent the use of SHIFT to by pass startup options in my application. Could someone please advise how I should go about this? i'm using Access 2010

  2. #2
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    I went to Module --> Tools --> References.
    I scrolled down and selected Microsoft DAO but got this message: "Name conflicts with existing module, project or library"

    I want to prevent the use of SHIFT to by pass startup options in my application. Could someone please advise how I should go about this? i'm using Access 2010

  3. #3
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    It is not necessary to set a reference to DAO in A2010. (Unlike A2000 - A2003)

    For the shift key question, see:
    http://www.utteraccess.com/forum/lof.../t1986220.html
    http://www.databasedev.co.uk/disable_shift_bypass.html


    Or Google: "bypass shift key access 2010"

  4. #4
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    Hi Ssanfu, I'd seen the info in http://www.databasedev.co.uk/disable_shift_bypass.html previously and it suggests setting a reference to DAO. Could you clarify this please?

    "...When you are viewing a Module, click the Tools menu » References. Browse for Microsoft DAO 3.6Select "Files of type: Executable Files (*.exe; *.dll)"
    C:\Program Files\Common Files\Microsoft Shared\DAO)..."

  5. #5
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    it suggests setting a reference to DAO.
    It is not necessary to set a reference to the DAO library in A2007/A2010. The reference to DAO is set as a default.
    Don't worry about setting the DAO reference.


    -----------------
    In Access 2000 to 2003, to use DAO you needed to set a reference to the DAO Library

    Starting with Access 2007 (12.0) and continuing in Access 2010 (14.0) there is a new Access Database Engine (ACE) that replaces the older JET database engine.
    DAO is now built into ACE
    .
    By default Access sets a reference to this new object library
    called Microsoft Office 12.0 Access database engine Object Library.

  6. #6
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    Thank you ssanfu for that. I'll use the anti By-Pass code. Hopefully it'll work for me otherwise I'll hola

  7. #7
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    hey ssanfu, could you help me out here please? I followed the instructions at this link: http://www.databasedev.co.uk/disable_shift_bypass.html but it is not working. The SHIFT key still activates the navigation bar and menus

    I created a public module & added the anti By Pass code to an Image on the Login form

  8. #8
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I'll try and make some time tonight to look at it.........

  9. #9
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    This was kinda fun... never tried the code before.

    I set the password to: Sheba9

    WARNING: the PW is NOT case sensitive. This can be good or bad, depending on your requirements.

  10. #10
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    Hi thanks Steve but the idea is to prevent a By Pass.

    There was no Login prompt for me to use Sheba9 (like you said) and the anti ByPass didn't work. Not sure what you did

  11. #11
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Double click on the first label.
    Enter a wrong password. (or no password or Cancel)
    Close Access.
    Open the file again, holding the shift key down.
    Shouldn't be able to get to the database window...

    Double click on the first label.
    Enter the right password.
    Close Access.
    Open the file again, holding the shift key down.
    Should be able to have full access to the design mode.

  12. #12
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239

    Exclamation

    H'llo Steve, just seen your update on this thread. When I open Access first and then press the SHIFT key before double clicking on the file name, the startup options are bypassed. Will I ever get this right?

  13. #13
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    The shift key option doesn't automagically re-lock itself after you "unlock" it.

    If the shift key is able bypass the startup options, double click on the LABEL "Enter Slot Number" then enter a wrong password.
    Close the dB, open using the shift key - should not bypass

    Double click on the LABEL "Enter Slot Number", then enter the correct password
    close the db, open using the shift key - should allow bypass

    close the database, then open it
    Try the shift key - should allow bypass

    Double click on the LABEL "Enter Slot Number" then enter a wrong password.
    Close the dB, open using the shift key - should not bypass

    I've tried this over and over - always works......

  14. #14
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    okay I'll try again after some rest!

  15. #15
    Sheba is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    239
    sigh! okay so I adapted the code to my application and the anti BYpass code works. However even though I put the correct password (after double clicking a label), SHIFT key still doesn't work

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. ADo Library
    By Mina Garas in forum Programming
    Replies: 6
    Last Post: 11-01-2012, 02:10 AM
  2. Library database
    By LDP in forum Programming
    Replies: 1
    Last Post: 10-03-2012, 06:11 AM
  3. Library Finder
    By Phil_Howes in forum Programming
    Replies: 9
    Last Post: 05-30-2012, 05:57 AM
  4. library statistics
    By sonia in forum Access
    Replies: 1
    Last Post: 04-11-2010, 12:22 PM
  5. Stores Library
    By martyparty2006 in forum Forms
    Replies: 5
    Last Post: 05-05-2009, 09:16 PM

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