calling DisableShiftKeyBypass function

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.
 
S

Silvester

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top