Hi,
I have a project where I have set up a PC as a time clock, so our employees can clock in and out. It's a WIN98 PC so I've changed the Shell in the [Boot] section to run my program rather than Explorer when the PC boots up.
The swipe card reader I have connects to the keyboard port so the swipe card program needs to have focus for the data to be put into an textbox.
To stop our employees 'playing', I have diconnected the keyboard. If there are any problems, I am using PC Anywhere to connect to the PC. Unfortunately when I disconnect PC anywhere, my clocking program loses the focus. What I would like to know is, is it possible to always force a form to have focus? The frmMain_LostFocus event does not seem to fire.
Lee
I have a project where I have set up a PC as a time clock, so our employees can clock in and out. It's a WIN98 PC so I've changed the Shell in the [Boot] section to run my program rather than Explorer when the PC boots up.
The swipe card reader I have connects to the keyboard port so the swipe card program needs to have focus for the data to be put into an textbox.
To stop our employees 'playing', I have diconnected the keyboard. If there are any problems, I am using PC Anywhere to connect to the PC. Unfortunately when I disconnect PC anywhere, my clocking program loses the focus. What I would like to know is, is it possible to always force a form to have focus? The frmMain_LostFocus event does not seem to fire.
Lee