using a database thorough a touch screen monitor

G

Guest

Already posted in "security" but maybe this is the right place.

Hello,
we have developed an application to administer a questionnaire on a system
which use a touch screen monitor.
We are now facing two issue:
1) we want to disable the use of keyboard while answering the questionnaire.
Keyboard can then be enabled only by entering a password. Is there a quick
way to disable the keyboard?
2) It is necessary to disable the use of minimize, maximize command on the
MAIN Access window. We have disabled the one on each form used in the
database but user can still act on the commands on the main window and this
can expose the computer to user inputs.

Any hints is greatly accepted and welcome!!!!
Rocco
 
S

Stuart McCall

Comments inline:
rocco said:
Already posted in "security" but maybe this is the right place.

Hello,
we have developed an application to administer a questionnaire on a system
which use a touch screen monitor.
We are now facing two issue:
1) we want to disable the use of keyboard while answering the
questionnaire.
Keyboard can then be enabled only by entering a password. Is there a quick
way to disable the keyboard?

1)In the module for the form you're using to collect data, Type the
following into the declaration section (ie at the top of the module, before
any procedures) :

Private m_Keyboard_On as boolean

2) Set the form's KeyPreview property to yes/true

3) In the form's OnKeyDown event procedure, type the following:
KeyCode = IIf(m_Keyboard_On, KeyCode, 0)

Then, whenever you wish to disable the keyboard, simply set m_Keyboard_On to
False.
2) It is necessary to disable the use of minimize, maximize command on the
MAIN Access window. We have disabled the one on each form used in the
database but user can still act on the commands on the main window and
this
can expose the computer to user inputs.

Set the Modal property of your forms to yes/true. The buttons will still be
visible, but the user cannot click them.
 
G

Guest

thanks! I will immediatly give it a try !!
Rocco

Stuart McCall said:
Comments inline:


1)In the module for the form you're using to collect data, Type the
following into the declaration section (ie at the top of the module, before
any procedures) :

Private m_Keyboard_On as boolean

2) Set the form's KeyPreview property to yes/true

3) In the form's OnKeyDown event procedure, type the following:
KeyCode = IIf(m_Keyboard_On, KeyCode, 0)

Then, whenever you wish to disable the keyboard, simply set m_Keyboard_On to
False.


Set the Modal property of your forms to yes/true. The buttons will still be
visible, but the user cannot click them.
 

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