lol this not a biggy but I did this for Method, anyways I wanted use it for something else so I put it here so I can download it from the other pc, but its cool if you guys wanna check it



locohacker wrote:wha error is giveing ya. and man at this point i cant do much casue my laptop where i do programming and stuff I have to send it to the repair shop

", vbNullString) ", "Room List") 
Private Sub Command13_Click()
Dim window As Long
Dim X As Long, editx As Long
Dim Button As Long
Dim combobox As Long
On Error Resume Next
window = FindWindow("atl:0053e390", "Rooms List")
'PostMessage window, WM_COMMAND, 33236, 0
'DoEvents
'Call Delay(0.05)
'DoEvents
'X = FindWindow("atl:0053e390", "Rooms List")
'combobox = FindWindowEx(X, 0&, "Edit", vbNullString)
'Call SendMessage(Edit, CB_SETCURSEL, ByVal Text5, ByVal Text5)
'DoEvents
X = FindWindow("wtlsplitterwindow", "Rooms List")
editx = FindWindowEx(X, 0&, "Edit", vbNullString)
Call SendMessageByString(editx, WM_SETTEXT, 0&, Text4)
DoEvents
X = FindWindow("wtlsplitterwindow", "Rooms List")
Button = FindWindowEx(X, 0&, "button", "Search")
Call SendMessageLong(Button, WM_KEYDOWN, VK_SPACE, 0&)
Call SendMessageLong(Button, WM_KEYUP, VK_SPACE, 0&)
End Sub
Return to Visual Basic Programming
Users browsing this forum: No registered users and 0 guests