18 lines of code 
we subtract other API
Non of that code counts.
Just this
So essentially the dll is a snippet pre configured as a .dll for easy reference. it would make a great addition to the API


we subtract other API
Code:
<DllImport("user32", CharSet:=CharSet.Ansi, SetLastError:=True, ExactSpelling:=True)> _
Private Shared Function keybd_event(ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long) As Long
End Function
<DllImport("user32", EntryPoint:="VkKeyScanA", CharSet:=CharSet.Ansi, SetLastError:=True, ExactSpelling:=True)> _
Private Shared Function VkKeyScan(ByVal yourchar As Char) As Integer
End Function
Private Const KEYEVENTF_KEYUP As Integer = 2
Just this
Code:
Public Sub SendString(ByVal WhatToSend As String, ByVal PauseLength As Integer)
WhatToSend = WhatToSend.ToLower
Dim num As Integer = 0
Try
Do While (num <> WhatToSend.Length)
StringSend.keybd_event(CByte(StringSend.VkKeyScan(WhatToSend.Chars(num))), 0, 0, 0)
Thread.Sleep(10)
StringSend.keybd_event(CByte(StringSend.VkKeyScan(WhatToSend.Chars(num))), 0, 2, 0)
num += 1
Thread.Sleep(PauseLength)
Loop
Catch exception1 As Exception
ProjectData.SetProjectError(exception1)
Dim exception As Exception = exception1
ProjectData.ClearProjectError
End Try
End Sub
Public Sub SendKey(ByVal WhichKey As Integer)
StringSend.keybd_event(CByte(WhichKey), 0, 0, 0)
Thread.Sleep(10)
StringSend.keybd_event(CByte(WhichKey), 0, 2, 0)
End Sub
So essentially the dll is a snippet pre configured as a .dll for easy reference. it would make a great addition to the API


Although I tend to have a lot of gap lines /
. Do with it what you will, I'm not too fussed.


ping