[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Open a Window from Visual Basic

Posted on 1998-10-30
3
Medium Priority
?
173 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 150 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

873 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