Solved

How can I exchange focus between apps?

Posted on 1999-01-20
2
135 Views
Last Modified: 2010-05-03
I have two apps, app 1 and app2.
I need to after doing some work in app 1, app 1 automatically change the focus to app 2.

Thanks in advance.
0
Comment
Question by:molsonice
2 Comments
 

Author Comment

by:molsonice
ID: 1469742
Adjusted points to 30
0
 
LVL 9

Accepted Solution

by:
Dalin earned 30 total points
ID: 1469743
Use the AppActivate statement:

AppActivate "Microsoft Word"       ' give word focus

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to debug this code 7 64
Prevent checkbox click event occur while editing it in vb6 8 57
Add and format columns in vb6 7 63
transition to visual .net from vb6 5 41
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

830 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