Solved

Open a Window from Visual Basic

Posted on 1998-10-30
3
165 Views
Last Modified: 2013-12-26
How can I open a window from Visual Basic, using some API function?. I know it's posible if you know the window's name.

Thank you
0
Comment
Question by:raskia
  • 3
3 Comments
 
LVL 2

Accepted Solution

by:
BergJC earned 50 total points
ID: 1488057
Use AppActivate, if you know the window name
0
 
LVL 2

Expert Comment

by:BergJC
ID: 1488058
Example:

AppActivate "Microsoft Word"      
0
 
LVL 2

Expert Comment

by:BergJC
ID: 1488059
By the way, AppActivate isn't an API, it's a VB command.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

828 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