How to make a paltalk program work all paltalk Versions?

You can talk about VB programming here

Postby Departure » Wed Apr 20, 2005 10:23 am


hmmm i have'nt really thought about it that much, but i guess you could get the text from the about dialog in paltalk and then set a palsend version from there, in mean time using options is'nt going to hurt
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby xavier01 » Wed Apr 20, 2005 9:50 pm

nice idea about the .bas.

to have it auto select is pretty simple, just do

if palver = window handle 1 blah blah blah then

send blah blah blah

elseif palver = window handle 2 blah blah blah then

send blah blah blah

elseif palver = window handle 3 blah blah blah then

send blah blah blah

end if

havent looked at your code but you get the idea, just make a palver in .bas file, and make the call to it and it will check to see what pal ver it is and send the appropriate send for it .
xavier01
imFiles Newbie
imFiles Newbie
 
Posts: 23
Joined: Tue Apr 05, 2005 1:27 am

Postby Hackwood » Wed Apr 20, 2005 10:04 pm

You could always check the filesize of Paltalk.exe to determine version, cause im sureit changes everytime they update.

Just a thought
Hackwood
imFiles Junior
imFiles Junior
 
Posts: 60
Joined: Sat Apr 16, 2005 3:39 pm

Postby Departure » Thu Apr 21, 2005 12:15 am

xavier01 yeap i like that idea about getting the window handel :O)

it would'nt be hard to write code for that
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby NVYE » Sat Jun 11, 2005 12:17 am

why not .. check if handle <> 0
IF handle = 0 then we performace search FindWindow
Otherwise ... we do not performace anything

Wen can send message at the end ...

' Examples
handle = getParentWindow(title here);
If (handle=0) //b90
//check for other build
End If
sendMessageToChatroom(handle, message)
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 230
Joined: Fri Jun 10, 2005 11:29 pm

Postby Guest » Sun Jun 12, 2005 6:24 pm

NVYE wrote:why not .. check if handle <> 0
IF handle = 0 then we performace search FindWindow
Otherwise ... we do not performace anything

Wen can send message at the end ...

' Examples
handle = getParentWindow(title here);
If (handle=0) //b90
//check for other build
End If
sendMessageToChatroom(handle, message)


because theres only one part of the code that paltalk changes everytime to update there client... the part of the code they change was explained by locohacker and you can get the new part they change by using "PAT or JK's API SPY" which is in locohackers download area here on his site.
Guest
 

Postby Departure » Mon Jul 18, 2005 9:02 am

I found some code that automatically subclasses down to a control you have decided on and considering that paltalk always uses richedita for its textbox it very simple to find , also for the button control. So in other words the auto subclassing code does the work for you instead of doing all that coding :O) ahhh and you have to use a API spy because once again the auto subclasser does it for you :O)
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby Departure » Mon Jul 18, 2005 9:03 am

opps... i meant you DONT have to use a API spy
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Previous

Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests