|
You last visited: Today at 15:34
Advertisement
[S] Source
Discussion on [S] Source within the Coders Trading forum part of the Other Trading category.
10/27/2013, 12:51
|
#1
|
elite*gold: 40
Join Date: Mar 2013
Posts: 1,396
Received Thanks: 778
|
[S] Source
Hallo Leute
Ich suche eine Source, die per PostMessage Keys an ein Programm sendet:
Das Programm fängt die Keys so ab:
Sollte in Visual Basic geschrieben sein.
Preis können wir dann Verhandeln...
|
|
|
10/27/2013, 13:21
|
#2
(?)
|
elite*gold: 0
Join Date: May 2012
Posts: 20
Received Thanks: 0
|
Hallo,
Wäre interessiert dies in Vb.net zu meistern. Falls ich dafür ausgewählt werde hier ist mein skype name: matthiassos. MatthiasSkype
Einer von den beiden.
MfG
Matthias
|
|
|
10/29/2013, 15:36
|
#3
|
elite*gold: 40
Join Date: Mar 2013
Posts: 1,396
Received Thanks: 778
|
Suche immer noch
|
|
|
10/30/2013, 18:20
|
#4
(?)
|
elite*gold: 724
Join Date: Mar 2011
Posts: 10,479
Received Thanks: 3,318
|
Sollte funktionieren, habs nicht getestet.
Code:
Public Class SpamSpam
Private windowHandle As IntPtr
<DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _
Private Shared Function PostMessage(ByVal hWnd As IntPtr, ByVal Msg As UInteger, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As Boolean
End Function
<DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _
Private Shared Function FindWindow( _
ByVal lpClassName As String, _
ByVal lpWindowName As String) As IntPtr
End Function
Sub New(ByVal title As String)
windowHandle = FindWindow(IntPtr.Zero, title)
End Sub
Private Sub PostChar(ByVal c As Char)
PostMessage(windowHandle, WM_KEYDOWN, c, 0);
PostMessage(windowHandle, WM_CHAR, c, 0);
PostMessage(windowHandle, WM_KEYUP, c, 0);
End Sub
Public Sub PostString(ByVal message As String)
For Each c As Char In message
PostChar(c)
Next
End Sub
End Class
|
|
|
11/01/2013, 12:45
|
#5
|
elite*gold: 40
Join Date: Mar 2013
Posts: 1,396
Received Thanks: 778
|
Push
Suche immernoch.
|
|
|
11/06/2013, 13:58
|
#6
|
elite*gold: 40
Join Date: Mar 2013
Posts: 1,396
Received Thanks: 778
|
Suche immernoch ...
|
|
|
All times are GMT +1. The time now is 15:36.
|
|