Sign in to follow this  
Followers 0
panic mode

[Tutorials and Guides] - Controlling another application with VB.NET

1 post in this topic

File Name: Controlling another application with VB.NET File Submitter: panic mode File Submitted: 1 Sep 2008 File Category: Tutorials and Guides Small demo how to write program that uses another application (any). In this demo (VB.NET source included) remote application is Windows Calculator. Things to note: - launch check if running and close remote app - issue commands such as minimize maximize and restore (note that this works even if actual icons in upper right corner are grayed out this only prevents access in normal use not when accessed remotely like through API) - read and write text from/to remote app (also works if user cannot see remote app like when minimized etc.). - issue mouse clicks (to be effective should not be affected by user moving mouse cursor and should not interfere with user interaction with computer) - it can focus on and control specific instance of the application (try to run several Calculators) etc. panic mode PS. To really see what is inside remote app you want to manipulate (check class caption etc.) you will need program like ShowWindow http://www.thescarms.com/VBasic/ShowWindow.aspx Click here to download this file

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0