vb.net - using send key

Hello,
I have a string like this "hello world"
how can I make something like this

for each letter
  SendKeys.Send("{H}")
next

so basically it write the (hello world) letter by letter..
LVL 1
XK8ERAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
käµfm³d 👽Connect With a Mentor Commented:
Dim s As String = "hello world"

For Each letter As Char In s
    SendKeys.Send(letter.ToString().ToUpper())
    Application.DoEvents()  ' Allow form to update its display during the loop
Next

Open in new window

0
All Courses

From novice to tech pro — start learning today.