Hide DB Window, Disable F11 in Code

  • Thread starter Thread starter Alan Z. Scharf
  • Start date Start date
A

Alan Z. Scharf

How can I hide the DB window and disable F11 in code.for ADP project?

I need to do this only for read-only users.

I haven't found answer in books or Google.

Thanks.

Alan
 
hi,
Manually -
make sure the database window has focus:
window>hide
programmaticly -
DoCmd.SelectObject acForm,,True
RunCommand acCmdWindowHide
disable F11:
not sure.
 
Thanks for your reply.

However, I need to disable the F11 key in code, not via the menu.

Thanks again.

Alan
 
i didn't tell you how to disable the F11 key. i gave you 3
different way to hide the db window. manually,
programaticly and on startup.
 
Back
Top