Hi Bob (and others).
I seem to have a slightly different problem. I'm developing an app that will be distributed as an ACCDE. I've written code to disable the bypass key, but can't seem to prevent users from just pressing F11 to reveal the navigation pane. I tried putting the following in the load event of my splash screen, but it made no difference:
DoCmd.LockNavigationPane (True)
Then, based on Bob's fix above, I also pasted in the following code just beneath.
DoCmd.ShowToolbar "Ribbon", acToolbarNo
However, users can still press F11 to show the navigation pane. Also, I have a custom built ribbon, which was not visible after this code was run.
Can anyone please tell me how to permanently hide the navigation pane while still allowing ribbons?
Thanks for any help - much appreciated.
Cheers
Fraser