Controlling Window State Of Other Applications using VB.NET
This article shows how you can control window state of any other application using VB.NET.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Controlling Window State Of Other Applications using VB.NET


Former memberPosted Dec 1, 2010, 11:59 AM EST
Oh I was thinking this can be helped, well anyway I was using another application called sildenafil, but this one looks better, thanks a lot.
s kPosted Sep 14, 2008, 11:03 AM EDT
The above article is very interesting, and makes me wonder if there is a way in VB to also determine the state and location of the form belonging to another application that is active, and attach a new form (could be just a dumb display of text or graphics) from my application to it? Regards, sk
Mike SuharPosted Feb 3, 2008, 6:15 AM EST
Going a step farther. Can I control an application using VB.NET as if I was interacting with that application? I have a CCTV application that monitors 4 cameras. The application will take a jpg snapshot by right clicking the image and selecting "capture". Can I use VB.NET to automate this process by interacting with the application to select the image then input the required right click selection? Years ago I use to automate software installation using a program called WinBatch that could interact with a running application to control it.
BonesPosted Dec 18, 2007, 1:37 PM EST
Hi There is a bug in this code hWnd = CType(p(0).MainWindowHandle, Integer) Should read hWnd = p(0).MainWindowHandle.ToInt32
Bishi saderPosted Mar 27, 2007, 3:28 AM EDT
Hej First of all thank you for your toturial. My Name is Bishi, and i come from Iran. I am a part time programmer right now(I came out of work as a programer last year). My problem is : I want to make a Bidirectional Web TextBox. Can you please help me get started. I have seen it done, but i just cant fine anything on this subject anymore... My Email is : [email protected]
Shafi MohdPosted Jan 31, 2007, 10:18 AM EST
Hello, I am new to VB .Net. I have read this article and found it helpful. I wonder if someone can tell me what to do to accomplish following automation: I have some buttons on a webpage to control a device remotely. I would like to be able to press the buttons from another (my own) VB.Net program. This article tell me how to create a handle to IE page. Can someone tell me how to access the controls on a window from a seperate application? Thaks in advance.