Hide Access Options

前端 未结 4 765
心在旅途
心在旅途 2020-12-14 13:03

I have noticed that even though when you disable the “Use Access Special Keys”, disable the “Display Navigation Pane”, and disable the ribbon menus, you can easily access th

4条回答
  •  隐瞒了意图╮
    2020-12-14 13:22

    All,

    I've spent a lot of time ... on a lot of websites ...

    Here's XML that will:

    • Disable QAT
    • Disable "Database Options"
    • Disable "Save As"
    • Disable "Close" (so you can programmatically control what happens)
    • Enable only the "Home" TAB ... I actually rebuilt it from scratch

    This code pretty much "exactly" looks like the standard "HOME" tab in MS Access 2013.

    You can use this to really lock down your app ... in combination with some good code to disable special keys at startup, etc.

    Here ya go:

       
      
           
           
               
               
                       
                   
               
                       
               
                       
                       
                   
               
                       
               
                       
                       
                       
                       
                       
                   
               
                       
               
                       
                       
                       
                       
                       
                   
               
                       
               
                       
                       
                   
               
                
                           
                   
                   
                               
                               
                               
                               
                               
                               
                               
                           
                        
                        
                            
                               
                               
                               
                               
                               
                               
                               
                               
                               
                               
                               
                               
                               
                               
                               
                            
                        
                   
               
           
      
      
           
          

提交回复
热议问题