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.