Click to See Complete Forum and Search --> : Setting Focus On Another Application


softweng
June 15th, 2001, 05:45 PM
My app is opening a form in a different application (Outlook 2000). I need my application
to set the value of a particular field (Text Box). I tried using SendKeys but when the form
is opened the focus can sometimes start in different areas so SendKeys will not work.
Is there anyway to set the focus or the value of a text box in another app using API's?

Kris
Software Engineer
Phoenix,AZ

phil m
June 16th, 2001, 09:46 AM
I'm sure there's a better way but I think I did this once by using a comon file. I wanted the new app to set focus on a command box so I saved the name to a txtfile. When the new app opened it searched the txtfile for the name and if it found one then it set focus there. I think that's how it worked anyway.

Phil

softweng
June 16th, 2001, 10:10 PM
well I have no control over the other app. it is the meeting request form in Outlook 2000.

Kris
Software Engineer
Phoenix,AZ