Nice program! I tried altering one of their examples but I still don't know the proper code to do things like activate a named window, find its radio button control and select it.
Main Topics
Browse All TopicsHello Experts
How would I use a VB winform to make selections on another running program? I have a program that is running already with 4 radio buttons. I need to pick one of the choices using my own program. A user opens a program and a new window pops up asking for a selection. They always use "save" so I'd like to automate this so they don't have to do this everytime.
I have a winform already that selects the window that pops up and makes it the foreground window (see code). How do I use my app to select the radio button "save" on that window?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: purplepomegranitePosted on 2009-09-26 at 05:18:55ID: 25429615
While it can be done in VB, you'd need to use various functions to obtain handles to the window and then the controls.
m/autoit3/
There is a program that is written to do things like this, called AutoIt: http://www.autoitscript.co