|
-
Feb 13th, 2007, 05:18 PM
#15
Re: vb 2005 SendKey Doesn't work!!!!
SendKeys is unreliable because you've just got to hope that the correct control has focus to receive your simulated key strokes. It is much better to use the Windows API to interact with external applications. That way you know for sure that you're interacting with exactly the controls you intend. If you use SendKeys and the wrong control has focus you may do something really bad.
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
|