1.

Solve : VB Sendkeys problem?

Answer»

Hello guys.
Today, while PLAYING with VS2010, I discovered a strange ISSUE: the sendkeys.send code isn't sending "(" or ")", it REPLACES them with spaces.
I tried PUTTING the string in a string variable but the result was the same.
How can I send "(" ")" like the NORMAL text?
Thank you, guys:Dhttp://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.send.aspx

Quote from: MSDN

The plus sign (+), caret (^), percent sign (%), tilde (~), and parentheses () have special meanings to SendKeys. To specify one of these characters, enclose it within braces ({}). For example, to specify the plus sign, use "{+}". To specify brace characters, use "{{}" and "{}}". Square Brackets ([ ]) have no special meaning to SendKeys, but you must enclose them in braces.


Discussion

No Comment Found