Forum Replies Created
-
AuthorPosts
-
February 1, 2011 at 6:08 pm #187162honey_34Member
what kind of list control paltalk 10 uses . can you show me an example . i read the comments in your previous project and it was very helpful .. thanks in advance
February 1, 2011 at 12:52 am #187167honey_34Memberi tried to change the handle for the pal friends list treeview as follow..
gradienttreeviewclass = getPalSubForm(“seinfeld_superman”, “Paltalk Messenger”, “CAccordianctrl”, 1)im using ms spy++ instead of PAT spy , but am still getting error >> “Run time error : subscript out of range ” in CopyTargetTreeview procedure . could any one tell me what is the problem ? 🙁
January 29, 2011 at 10:48 pm #187168honey_34Memberthx string . yes i was able to collect my friend list before the latest release -> paltalk 10 . would you please update it .. ? thank you again
September 5, 2010 at 5:18 pm #187177honey_34Memberi added it via the vb program (Microsoft Windows Common Control 6.0 (sp6)) 🙄
September 3, 2010 at 8:45 pm #187218honey_34Memberhi Admin thank you for the latest update , but am asking is there is any way for the treeview item , i mean paltalk buddy list .
August 21, 2010 at 9:11 am #187425honey_34Memberhello guys , could any one show example in vb
August 16, 2010 at 6:23 am #187426honey_34Memberyah i tried all updated source code by Admin , but it is not the code that am looking for 🙁 . thank you for reply
August 15, 2010 at 6:21 pm #187428honey_34Memberi tried to understand the code posted by chike and Departure , but i couldn’t am not familiar with C++ and delphi 🙁 .. so how can i convert it to vb6 ?
April 4, 2009 at 12:37 am #187374honey_34Memberthank you Chike .. i gt it but it seems not working with paltalk 9.6
March 10, 2009 at 4:31 am #187432honey_34MemberSorry guys i expected the getlistviewitem will return my paltalk nicknames when i call GetMyPalList Function.
Function GetMyPalList()
Dim SuperM As Long, Wsplt As Long, Atla, GradViewClass As Long
SuperM = FindWindow("seinfeld_superman", vbNullString)
Wsplt = FindWindowEx(SuperM, 0&, "wtl_splitterwindow", vbNullString)
Atla = FindWindowEx(Wsplt 0&, "atl:0080daa8", vbNullString)
GradViewClass = FindWindowEx(Atla, 0&, "gradienttreeviewclass", vbNullString)
' Then pass GradViewClass to the GetListViewItem
Call GetListviewItem(GradViewClass)
End Function
This is GetListviewItem code posted by chike i guess.
Public Function GetListviewItem(ByVal lstviewhwnd As Long) As String
Dim result As Long
Dim myItem As LV_ITEMA
Dim pHandle As Long
Dim pStrBufferMemory As Long
Dim pMyItemMemory As Long
Dim strBuffer() As Byte
Dim Index As Long
Dim tmpString, tmp2 As String
Dim strLength As Long
Dim ProcessID As Long
Dim ItemCount, i As Long
'**********************
'init the string buffer
'**********************
ReDim strBuffer(MAX_LVMSTRING)
'***********************************************************
'open a handle to the process and allocate the string buffer
'***********************************************************
Call GetWindowThreadProcessId(lstviewhwnd, ProcessID)
pHandle = OpenProcess(PROCESS_VM_OPERATION Or PROCESS_VM_READ Or PROCESS_VM_WRITE, False, ProcessID)
pStrBufferMemory = VirtualAllocEx(pHandle, 0, MAX_LVMSTRING, MEM_COMMIT, PAGE_READWRITE)
'************************************************************************************
'initialize the local LV_ITEM structure
'The myItem.iSubItem member is set to the index of the column that is being retrieved
'************************************************************************************
myItem.mask = LVIF_TEXT
myItem.iSubItem = 2
myItem.pszText = pStrBufferMemory
myItem.cchTextMax = MAX_LVMSTRING
'**********************************************************
'write the structure into the remote process's memory space
'**********************************************************
pMyItemMemory = VirtualAllocEx(pHandle, 0, Len(myItem), MEM_COMMIT, PAGE_READWRITE)
ItemCount = SendMessage(lstviewhwnd, LVM_GETITEMCOUNT, 0&, 0&)
For i = 0 To ItemCount - 1
result = WriteProcessMemory(pHandle, pMyItemMemory, myItem, Len(myItem), 0)
'*************************************************************
'send the get the item message and write back the memory space
'*************************************************************
result = SendMessage(lstviewhwnd, LVM_GETITEMTEXT, i, ByVal pMyItemMemory)
result = ReadProcessMemory(pHandle, pStrBufferMemory, strBuffer(0), MAX_LVMSTRING, 0)
result = ReadProcessMemory(pHandle, pMyItemMemory, myItem, Len(myItem), 0)
'**************************************************
'turn the byte array into a string and send it back
'**************************************************
For Index = LBound(strBuffer) To UBound(strBuffer)
If Chr(strBuffer(Index)) = vbNullChar Then Exit For
tmpString = tmpString & Chr(strBuffer(Index))
tmp2 = tmp2 & Chr(strBuffer(Index))
Next Index
tmp2 = Replace(tmp2, "@", "")
List3.AddItem tmp2
tmp2 = ""
Next
'
'**************************************************
'deallocate the memory and close the process handle
'**************************************************
result = VirtualFreeEx(pHandle, pStrBufferMemory, 0, MEM_RELEASE)
result = VirtualFreeEx(pHandle, pMyItemMemory, 0, MEM_RELEASE)
result = CloseHandle(pHandle)
If Len(tmpString) > 0 Then GetListviewItem = tmpString
End Functionthe original code was used to get the nicknames from the room by calling NickGet function. my problem is that i tried to get my own paltalk nicknames including offline nicknames using GetMyPalList function instead of NickGet but List3 return nothing .
March 9, 2009 at 12:18 pm #187436honey_34MemberThis is my code :
Dim SuperM As Long, Wsplt As Long, Atla, GradViewClass As Long
SuperM = FindWindow("seinfeld_superman", vbNullString)
Wsplt = FindWindowEx(SuperM, 0&, "wtl_splitterwindow", vbNullString)
Atla = FindWindowEx(Wsplt 0&, "atl:0080daa8", vbNullString)
GradViewClass = FindWindowEx(Atla, 0&, "gradienttreeviewclass", vbNullString)
' Then pass GradViewClass to the GetListViewItem
Call GetListviewItem(GradViewClass)March 8, 2009 at 6:22 pm #187439honey_34Memberi want to display my paltalk nickname list including offline nicknames into a vb list box .
May 26, 2007 at 11:02 am #187892honey_34Memberyes sure .. Ghost
November 24, 2006 at 6:34 pm #190956honey_34MemberThanx YeaAnd … i want vb source code that rais the hand and open cam as well as the vb code posted by Admin which was working with the previous paltalk version 8.3 .. but it is not working with paltalk 9 beta .. the last version ..
would be appreciated .. thanx 😕April 22, 2006 at 8:28 am #188901honey_34Memberi meant a text box that show me the (Group #) number .. but the code posted it seems much better ..
thank you too much Admin , nanomachine007 😆 -
AuthorPosts