Quote Originally Posted by jmcilhinney View Post
That would preclude using SendKeys anyway, because it simply simulates keyboard input and you can't use the keyboard to input to a window that doesn't have focus. If that window is using DirectX or the like, which seems likely for a game, there may not be anything you can do for an inactive window and little you can do beyond what I suggested for an active window. I'm afraid there's nothing more that I can suggest that I already have as this is not something I've ever tried or researched before.
Well Blizzard did it on their Launcher tho that makes me keep trying ..

as i said a lot of developers around and creates a lot of applicatons but they couldn't find the way blizzard uses in sending the command

Thanks for helping me out i appreciate it, thanks also for the advice's i hope i got this one day.

Quote Originally Posted by passel View Post
You would think if someone was lazy enough not to want to enter their user ID and password when starting the game from your application they would be willing to wait for it to login for them.
Perhaps show a modal form (or messagebox) from your application telling them to wait and not use their keyboard and mouse until you've started the application and logged in (i.e. until you close the model form).
Well it's pretty much Launcher for this game and people is supposed not to open wow.exe and put username and password manually since something is related to application side which is the register
My application will create the account for you than after registration successfully than it will open the game and log you in using the username and password. well i think my method works so good since in every sendkey it focus the client it got chance 20% to get it wrong tho i was thinking of something similar to this if it ever exist :

Something close to this :

SendKeys("THE KEY OR TEXT", "World of Warcraft")

i wonder if there is something close to this Idea