473,769 Members | 7,408 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Switching to a specified open application window...

MLH
I seem to remember a post in the distant past
discussing how to switch to another open application
window. IE, if WordPad is running, some API function
that'll allow me to switch the focus to that application?

Ring any bells with anyone? I have searched Google
for "switching to an open application from code" and
"switching applications". But all I found were a few
blurbs about ALT-TAB.
Nov 12 '05 #1
3 5965
Jon
MLH <CR**@NorthStat e.net> wrote in message news:<en******* *************** **********@4ax. com>...
I seem to remember a post in the distant past
discussing how to switch to another open application
window. IE, if WordPad is running, some API function
that'll allow me to switch the focus to that application?

Ring any bells with anyone? I have searched Google
for "switching to an open application from code" and
"switching applications". But all I found were a few
blurbs about ALT-TAB.


See if this page on the Access Web helps -
http://www.mvps.org/access/api/api0007.htm

Jon

Access tips & tricks - http://www.applecore99.com
Microsoft Access webring -
http://a.webring.com/hub?ring=microsoftaccess
Nov 12 '05 #2
Maybe 'AppActivate' is what you are looking for

--
Hope this helps
Arno R
"MLH" <CR**@NorthStat e.net> schreef in bericht news:en******** *************** *********@4ax.c om...
I seem to remember a post in the distant past
discussing how to switch to another open application
window. IE, if WordPad is running, some API function
that'll allow me to switch the focus to that application?

Ring any bells with anyone? I have searched Google
for "switching to an open application from code" and
"switching applications". But all I found were a few
blurbs about ALT-TAB.

Nov 12 '05 #3
MLH
On Fri, 19 Sep 2003 09:57:45 +0200, "Arno R"
<ar************ ****@tiscali.nl > wrote:
Maybe 'AppActivate' is what you are looking for

AppActivate WILL work for me, but only if I suspend
code processing for about 3 seconds while other running
apps complete certain of their tasks and THEN execute
AppActivate. I have a later post on the subject giving
specific details.
Nov 12 '05 #4

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

Similar topics

3
2484
by: Dennis Wheeler | last post by:
I'm trying to find a commandline solution for switching projects. Currently I have to modify the IIS virtual directory path to the source files, and then open the solution file in .Net to be prompted with the "Web Access Failed" dialog, where I can then modify the path to match my IIS settings. Is there a registry setting or some other method of moving the solution path without having to physically open the solution file in the IDE?
4
2035
by: sashan | last post by:
Hi Is there a way to enable Emacs/Vim style buffer switching in the VC++ editor? For those that don't know this is where you hit a shortcut key in Emacs/Vim and then type the partial name of the file/buffer/window and it provides a list of matches to the partial name. It's kinda like hitting Ctrl+i and doing an incremental search except it matches file names instead of text. Any alternative suggestions for quickly moving between files...
8
4090
by: John Clark | last post by:
If I know the "title" of an open window of an application running on the same PC that my application is installed, say for example "Window abc", what's the best method of getting my vb.net to "switch" to that window as if I'd clicked on the taskbar or pressed ALT+TAB? It should be simple, but I've had no luck so far .. Thanks, JC
1
2543
by: Doug | last post by:
When opening a DOC file via a hyperlink, is it possible to force Microsoft Word to open in a specified-size window? For example, a 600x300 window? I realize that MS Word will 'remember' the window size and placement from the last instance that was created/exited. Help is appreciated. Thanks.
9
3084
by: Andrew Poulos | last post by:
I have some js that looks like this: fOpenPDFInNewWindow = function(url,page) { var page = page || 1; newPDF = window.open(url+"#pagemode=bookmarks&page="+page, "location=no,menubar=no;toolbar=no,scrollbars=no,width="+800+",height="+600+"\""); } and some HTML that looks like this:
4
1766
by: Shimon Sim | last post by:
I just switch my asp application to .net 2 and got this error. Any reasons why? Thank you. Server Error in '/RAFEmployee' Application. -------------------------------------------------------------------------------- The specified module could not be found. (Exception from HRESULT: 0x8007007E) Description: An unhandled exception occurred during the execution of the
1
5740
by: garry.oxnard | last post by:
Can anyone help me to solve a problem which involves switching from Access to Excel (then back to Access) programatically please? I have an Excel template which, on open, also opens an Access database - containing a list of addresses. Sequence of events is = (1) Excel template opens in its default XXX.xls filename. (2) Code runs to save the spreadsheet as XXX.xls. (3) User clicks a button to open an Access database containing an
2
1800
by: Mel | last post by:
I have a navigation page, very long list of urls and when you click a link it is opened in a new window. THE PROBLEM: When i scrolldown the navaigator and click on a link, it refreshes itself, even when i have target specified. How can i avoid this
8
4264
by: vatz | last post by:
I am using Java to open a window application. i need to open it in a specified size. Please let me know how to do this...Thanks in advance... - Vatz
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10214
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10048
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9865
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7410
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3963
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 we have to send another system
2
3563
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.