I want to send \"{TAB}\" Key to another application window(send the key to the window not to textbox).
I tried:
SendMessage(hWnd, WM
Having struggled with this type of this a few times before, i would suggest a couple of things to look at.
The 1st is autoit which includes a dll you can reference from vb.net, and is very simple you use, and well documented. I tend to use that whenever i need to control a 3rd party program.
The other is the ui automation classes See this for an example:
http://blog.functionalfun.net/2009/06/introduction-to-ui-automation-with.html