I have the following snippet (simplified) VB6 SP5 code:
Call TimeDelay(5, True)
Now I do the following:
1. Run the above code.
2. Quickly manually activate my Word app.
3. Wait for the delay to run out and it opens a new Word window just like it should with a "Ctrl-n"
The problem is that this same approach does not work in another app called TradeStation. TradeStation accepts the CTRL-N if I manually hit the keys on the keyboard, but won't take it from Sendkeys.
Any ideas on why SendKeys works on Word but not on TradeStation? Any fixes?
I've already tried: