Hello!
Problem: It works fine, but when symbols like '%' '/' ... are written into textbox1, it gives an error
I tried this:
So I should write if statement for each symbol that isn't working with sendkeys.send...
and if I miss some (I cant write them all on that way) the app will crash
Is there any better way to accomplish what I want?
So that all symbols can get send...
thx
Code:
text = TextBox1.Text
SendKeys.Send(text)
SendKeys.Send("{enter}")
I tried this:
Code:
For Each asd As Char In TextBox1.Text
If asd = "/" Then
SendKeys.Send(Chr(41))
Else
SendKeys.Send(asd)
End If
Next
SendKeys.Send("{enter}")
and if I miss some (I cant write them all on that way) the app will crash
Is there any better way to accomplish what I want?
So that all symbols can get send...
thx