SendKeys & the numeric keypad - revised 
Author Message
 SendKeys & the numeric keypad - revised

I posted a message below and received a response from
Trois Jay that looked like it would work perfectly (using
the 'Keycode constants' ).  However, when it did not work,
I debugged the code and saw that the constants were
translating to a numeric value (i.e. vbKeyNumpad4 = 100)
and SendKeys was sending  "100" (from the top row keypad
naturally!!!)
Any other suggestions???
- Rob


Wed, 14 Sep 2005 05:22:50 GMT  
 SendKeys & the numeric keypad - revised
It looks to me as though you could use part of the code posted here:

    http://www.mvps.org/access/api/api0046.htm

(which is intended as a replacement for SendKeys) to send a specific
key scan code using the keybd_event API function.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


Quote:
> I posted a message below and received a response from
> Trois Jay that looked like it would work perfectly (using
> the 'Keycode constants' ).  However, when it did not work,
> I debugged the code and saw that the constants were
> translating to a numeric value (i.e. vbKeyNumpad4 = 100)
> and SendKeys was sending  "100" (from the top row keypad
> naturally!!!)
> Any other suggestions???
> - Rob



Wed, 14 Sep 2005 06:37:52 GMT  
 SendKeys & the numeric keypad - revised
OK, then try this:

Application.Run "utility.wlib_AutoDial", stDialStr

stDialStr contains the phonenumber.

Let us know here, whether that works.

Jacques

I posted a message below and received a response from
Trois Jay that looked like it would work perfectly (using
the 'Keycode constants' ).  However, when it did not work,
I debugged the code and saw that the constants were
translating to a numeric value (i.e. vbKeyNumpad4 = 100)
and SendKeys was sending  "100" (from the top row keypad
naturally!!!)
Any other suggestions???
- Rob



Wed, 14 Sep 2005 06:47:44 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. SendKeys & the numeric keypad

2. SendKeys - Numeric Keypad

3. Using Sendkeys to send numeric keypad keys (VB5)

4. Using numbers from the numeric keypad?

5. Enter key on the numeric keypad

6. How to detect numeric keypad

7. Custom Numeric Keypad

8. SendKeys Keypad #'s

9. Keypad #'s using Sendkeys

10. HOWTO: Use Sendkeys to send the numeric plus sign

11. Routine to transform a Numeric into a non Numeric

12. Assign a numeric variable to a numeric field name

 

 
Powered by phpBB® Forum Software