Solved

Access 2000 says 'Setting Up Wizards' constantly after SendKeys action

Posted on 2004-03-25
1
259 Views
Last Modified: 2007-12-19
Im using Access 2000, and something is causing it to say 'Setting Up Wizards' in the status bar. I noticed this was being triggered by a marco off a particular button, and when I went into it, stopping the macro at different points - it was the SendKeys function that was causing this to appear in the status bar.

I was just sending %u - which should cause focus to move to a control that I've set up Alt+U to do this for - and Alt+U works fine, but using the sendkeys function causes 'Setting Up Wizards' to appear in the status bar until I finally close access down. And when I close it down, it crashes and sends an error report. Incidentally, if when using Access I don't trigger this macro, Access closes down fine.

Well, it sounds like a bug in Access to me, just wondering if anyone knows anything about it and how to get rid of it without re-coding. I've got all the latest windows updates etc, and Im using Office Service Release1.

Thanks,
Matt.

0
Comment
Question by:MatthewP
1 Comment
 
LVL 36

Accepted Solution

by:
SidFishes earned 50 total points
ID: 10677551
sendkeys is a nightmare and should be avoided if possible...


have a look here for an alternative


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

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

2 Experts available now in Live!

Get 1:1 Help Now