473,498 Members | 1,557 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Send Keys

My program in Access (Office 97/2000/XP/2003) opens a database (MAIN
MENU) with a listing of all databases in a directory. User selects
what database wants to open, and program opens it. I am not just
reading data from it, I open/run it and forms created in it, can be
used by user (MAIN MENU closes).

From MAIN MENU I have the following for opening a specific database:

SendKeys "%F{DOWN}" 'ALT F
SendKeys "{ENTER}" 'Open Window opens
SendKeys "c:\test\Ipd.MDE" 'send in FILE NAME
SendKeys "{ENTER}"

From the specific database, user can return to MAIN MENU with the
following commands:

SendKeys "%F{DOWN}" 'ALT F
SendKeys "{ENTER}" 'select Open database
SendKeys "C:\test\sample.mde" 'send in FILE NAME
SendKeys "{TAB 2}" 'set focus the OPEN button
SendKeys "{DOWN}" 'drop down the OPEN button menu
SendKeys "{UP 2}" 'select OPEN EXCLUSIVE
SendKeys "{ENTER}" 'press enter

Both parts of code work without any problem in different Windows
versions & languages. As soon as "C:\test\sample.mde" is send to FILE
NAME and tab is pressed the field FILES OF TYPE (in open window) from
"All Files *.*" changes to "MDE files".

On my Russian testing machines there was no problem. I have a problem
with some client machines with Russian Windows & Russian Office 2000 &
XP. The FILES OF TYPE does not change to "MDE files" with a result
OPEN window to remains open without opening the database.

Is there any solution ?
Nov 13 '05 #1
0 1933

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

Similar topics

9
10182
by: Etienne Charland | last post by:
Hi, there is an application running on a remote desktop (under Citrix ICA, but the same problem applies for RDC or PC Anywhere). Now, I want to send keys to the remote application from a local app....
0
7126
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7005
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7381
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5465
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4916
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4595
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1424
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
659
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.