473,394 Members | 1,778 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,394 software developers and data experts.

SendKeys and Access2000 and Vista

2
I have been successfully using sendkeys in macros with access 2000 and 2003 with xp. An error message comes up with access and vista, 'add in' missing. Can anyone suggest a work around for 'sendkeys' in a macro? Thankyou
Jul 28 '07 #1
5 2368
missinglinq
3,532 Expert 2GB
You have inadvertently posted your question in the Articles section rather than the Forum section. I have moved it to the Forum for you.

Welcome to TheScripts!

Linq ;0)>
Jul 28 '07 #2
missinglinq
3,532 Expert 2GB
Vista is raising a great deal of havoc with all versions of Access! Perhaps if you give us an idea of exactly what you're trying to accomplish with your macro(s) we can suggest a workaround.

Linq ;0)>
Jul 28 '07 #3
nico5038
3,080 Expert 2GB
In general I advise not to use the SendKeys as they can be interrupted by the user.
When you indicate what has to be done we can propose how to achieve the same without this risky command.

Nic;o)
Jul 28 '07 #4
CeeVuu
2
Apologies for posting in the wrong area.
I use macros mostly.
An example of a sendkey function is to display the list of items in a combo box by way of 'dropdown' on enter.
Sendkeys equivelant is {%}+{down}.
Another sendkeys function is to shift + f9 , sendkeys {^}+{f9}, to refresh a field or form.
I appreciate your assistance as I am not a programmer.
On researching a solution for this problem I am keen to stop using sendkeys.
Thankyou
Jul 29 '07 #5
missinglinq
3,532 Expert 2GB
For the Refresh, in the appropriate event simply place this line of code

Me.Refresh

For the combobox dropdown, in Form Design View:

Right click on the combobox
Click on Properties
Click on Events
To the right of the OnEnter property box click
An Arrow and an ellipsis (...) will appear
Click on the ellipsis
Click on Code Builder

You'll be taken to the code window and need to use this simple code
Expand|Select|Wrap|Line Numbers
  1. Private Sub YourComboBoxName_Enter()
  2.   YourComboBoxName.DropDown
  3. End Sub
Let us know if you need more help!

Linq ;0)>
Jul 29 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: RBohannon | last post by:
I need to create a report in MS Word populated with data from A2K. I have been asked to create the report in Word so that parts of it can be edited as necessary later. The data in the report are...
5
by: Mike | last post by:
I want to be able to open the printer popup screen while a report is on the screen. I would like to have a button on one of the menus that sends the "control P" combination. In the past, I...
1
by: Glenn Palomar | last post by:
Hi, I have a beta Vista system and I'm running a program (created in VB.net) that sends keystroke to an application using System.Windows.Forms.SendKeys.SendWait. In Vista it throws an exception...
0
by: Licantrop0 | last post by:
....with description: " Hook cannot be created" My little program should open an IE window on a specific site, then write in some parameters (with sendkeys function) to login automatically in...
0
by: anuragshrivastava64 | last post by:
Can anyone please tell me how to use SendKeys in Vista?
10
by: hugh welford | last post by:
Hi Have just installed IIS7 on Vista and am trying to access a .mdb file through ASP. Getting server error. I think the problem is in the file permission. Under XP Pro/IIS6 is used to have to...
5
by: John Melbourne | last post by:
I am upgrading a long-standing Access application from 97, Xp and a 1280x1024 screen to 2000 ( and eventually 2007), Vista Business and 1280x800. The application has been in frequent use for many...
1
by: boeffchen | last post by:
Hello, I am trying to send keys to a window using the method above, though I am encountering timing issues, which msdn warned me of before. The way I tried to fix it is polling if the window I...
5
by: =?Utf-8?B?U3JpbWFu?= | last post by:
Hi, We are launching .net window from vb6 form. In .net form tabbing(tab out from one control to another control) was not working. for that i have written a code like Sendkeys.send("{TAB}") in the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.