Solved

Open a Window from Visual Basic

Posted on 1998-10-30
3
162 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

708 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

15 Experts available now in Live!

Get 1:1 Help Now