473,320 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

SendKeys Ctrl-PgDn to Java app

Hi,

We have a Java app at work (running on Windows 2000) and I'm trying to use
SendKeys in Microsoft Access VBA to get it to do a Ctrl-PgDn. The Java app
is respoding to a single key. For example, this works:

AppActivate "Java app"
SendKeys "{F10}", True

However, a combination key such as Ctrl-PgDn does not work

AppActivate "Java app"
SendKeys "^{PGDN}", True

Please note that when I go to the Java app itself and type in Ctrl-PgDn from
the keyboard, everything works fine.

Any ideas on why this might be happening? Does any one know of any
work-arounds?

Thanks,
Alistair
Jul 17 '05 #1
0 2662

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Wayne Gibson | last post by:
Hi, Was wondering if somebody could help.. I'm trying to use Sendkeys on a Windows forms. I have entered the following command to simulate a CTRL+ALT+1.. ...
2
by: Gary | last post by:
I am trying to use the "System.Windows.Forms.SendKeys" class for triggering the Ctrl+P key. Syntax: System.Windows.Forms.SendKeys.Send("^(P)"); This is not working ..what could be the...
1
by: Manoj Nair | last post by:
Hi, The problem : Have a system tray application.This has a menu item 'Exit'. On click of this a differnt application with a UI which runs in the background should close. The other application...
6
by: Gary | last post by:
Hi, I am trying to use the "System.Windows.Forms.SendKeys" class for triggering the Ctrl+P key. Syntax: System.Windows.Forms.SendKeys.Send("^(P)") This is not working ..what could be the...
1
by: Dean Slindee | last post by:
Have tried, but does nothing: SendKeys.Send("^%({DELETE})") Thanks, Dean Slindee
4
by: Dica | last post by:
i'm primarily a web developer so this is probably some really obvious mistake, but why doesn't sendKeys open the 'Open File' dialogue in photoShop with the following code: '// open the map...
4
by: Robert Cezar | last post by:
I am trying to send: Ctrl, Shift, TAB and the number 1 contemporaneously. I am using: System.Windows.Forms.SendKeys.Send("^+{TAB}1") or
0
by: =?Utf-8?B?U2VuZEtleXMgU2VuZCBub3QgY2FwdHVyaW5nIGtl | last post by:
I have an application where I am using the SendKeys.Send to copy the selected results from a form, validate the copied text and close Form. See example: private void button1_Click(object sender,...
7
mafaisal
by: mafaisal | last post by:
Hello Experts I am Using VB6, My doubt is how to send keys in more than one keys i mean Windowbutton + D ,Alt+Ctrl+Delete,Windowbutton + R etc ie For one Key eg : To tab sendkeys (vbtab)...
0
DOSrelic
by: DOSrelic | last post by:
I have read this page http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys(VS.71).aspx but try as I might I cannot figure out how to do it. I tried many combinations but none of...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.