|
-
June 15th, 2001, 05:45 PM
#1
Setting Focus On Another Application
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
Kris
Software Engineer
Phoenix, AZ USA
-
June 16th, 2001, 09:46 AM
#2
Re: Setting Focus On Another Application
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
-
June 16th, 2001, 10:10 PM
#3
Re: Setting Focus On Another Application
well I have no control over the other app. it is the meeting request form in Outlook 2000.
Kris
Software Engineer
Phoenix,AZ
Kris
Software Engineer
Phoenix, AZ USA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|