I'm still a newbie. anyway, i make le hotkey to quickly cast skills in WC3.. It's run pretty well on win32, but went crazy on win64. . . ==|| what should i do. Any tips? here's my code. . . code: Public Class Form1 Private Declare Function key Lib "User32" Alias "GetAsyncKeyState" (ByVal Key As Keys) As Keys Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick '========================================= Dim tabKey As Boolean = key(Keys.Tab) Dim tKey As Boolean = key(Keys.T) If tabKey And tKey = True Then SendKeys.Send("(eeer)") End If End Sub End Class
You'll probably need to change your target CPU. In the top toolbar in visual studio, if you're using visual studio you should see a box that displays x86, click down on the box and select 'Configuration manager' Next step - A dialog box should pop up and at the top click the dropdown list 'Active platform solution' and select '<New...>', once you're in there select platform 'Any CPU' and copy settings from 'x86'. Done. This won't work if you're using express edition, please let me know if you encounter problems. This may help also
Do you have a 64-Bit WinOS to test it on? If not send me the compiled version, not code and I'll test it for you?
No it's not working correctly, it keep sending the same keystring over and over again... Whenever I click on an empty notepad document it repeats this string each click "rqwereeereewreeqrqqqrqqwrqqerwwerwwqrwwwrqwer" And I forgot to add, when you're posting code don't forget to wrap code tags around it