Drew Wutka
DWUTKA at marlow.com
Tue Dec 9 14:53:53 CST 2003
Yep, don't use SendKeys! <grin> Actually, way back when, when I actually used SendKeys for various things, I wrote a function that checked the state of the Numlock key, and would change it if necessary. So what I did BEFORE the Sendkeys line, is check the state, then ran SendKeys, then checked the state again. If it changed, I switched it back. I also had a few forms back then that I wanted to force the numlock on, so I actually put that code in a timer event, to 'lock' the numlock key on. I've found later on that I have not really run into a situation the truly requires sendkeys anymore, there are usually other approaches. Drew -----Original Message----- From: Christian, Lorraine [mailto:LChristian at massmutual.com] Sent: Tuesday, December 09, 2003 1:38 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Num Lock Hi there - I am experiencing this same issue with an app using SendKeys with W2000. Is there a recommendation/resolution? Thanks. Lorraine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, December 09, 2003 1:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Num Lock Do you use SendKeys in your application? That is notorious for turning the numlock on/off. Drew -----Original Message----- From: Tim Thiessen [mailto:tim at irwingreenhouses.com] Sent: Tuesday, December 09, 2003 11:48 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Num Lock Hi Group, We have an A97 application running on several machines with Windows XP Pro. The application is an accounting-invoicing app. When used on Windows 95 or 98, the Num Lock stays on but on XP, the Num Lock turns off apparently by itself. Has anyone ever run into this and if so, can it be corrected? TIA Tim Thiessen Tim Thiessen Production Manager Irwin Greenhouses, Inc. 806-655-7811 Fax 806-655-3046 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------------------------------- This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies. --------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com