calling DisableShiftKeyBypass function

  • Thread starter Thread starter Silvester
  • Start date Start date
S

Silvester

Hi,

I've read the MS-SECFAQS and would like to call the DisableShiftKeyBypass
function to disallow users pressing the shift key on app startup.

I have included the code in a mod in my app and am logged in a admin when I
try to run it. Please give me the code to call the function and enable it ?

Running
call faq_DisableShiftKeyBypass("my.mdb", true)
generates error
"function faq_DisableShiftKeyBypass did not complete successfully."

Thanks for any help.
 
I am answering my own query. I figured out that I need to call this function
from another database opened with the same wgf with the complete path to the
database.

call faq_DisableShiftKeyBypass("c:\my programs\MYDB\my.mdb", true)
 
Back
Top