How to make a paltalk program work all paltalk Versions?

You can talk about VB programming here

How to make a paltalk program work all paltalk Versions?

Postby locohacker » Thu Jan 27, 2005 8:54 am


Hey people this what I am wondering, how can I make a paltalk program work for all paltalk versions, This mostly affects the programs with chatsend function on them, for example this is the line we changing right now every time paltalk upgrades

Code: Select all
atld = FindWindowEx(wtlsplitterwindow, 0&, "atl:004d0600", vbNullString)


So can something like this be done where you put the line code for each paltalk version one after another like this

Code: Select all
atld = FindWindowEx(wtlsplitterwindow, 0&, "atl:004d0600", vbNullString)
atld = FindWindowEx(wtlsplitterwindow, 0&, "atl:004d6640", vbNullString)


And on the top of the command put like

Code: Select all
On Error Resume Next


:?:
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4325
Joined: Fri Dec 31, 2004 6:59 pm

Postby UDG Clan » Thu Jan 27, 2005 10:35 am

i dont think thats how you do it
UDG Clan
imFiles Senior
imFiles Senior
 
Posts: 230
Joined: Mon Nov 22, 2004 7:44 pm

Postby Pure-Gold » Thu Jan 27, 2005 11:23 am

The thing that you need to do is like in my programs.

I've made PalSet.exe that you run and detect you object class
it will update the information in you program.

Very easy to do.
Pure-Gold
imFiles Newbie
imFiles Newbie
 
Posts: 35
Joined: Mon Dec 20, 2004 1:06 pm

Postby locohacker » Thu Jan 27, 2005 12:38 pm

:) okie let me check on that, any tips u can give us

like would it be some sort of exe file that will enter something to your registry or somehow update the program

:)
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4325
Joined: Fri Dec 31, 2004 6:59 pm

Postby Pure-Gold » Thu Jan 27, 2005 12:47 pm

That exactly what my PalSet.exe does. :D
Pure-Gold
imFiles Newbie
imFiles Newbie
 
Posts: 35
Joined: Mon Dec 20, 2004 1:06 pm

Postby Project SP » Thu Jan 27, 2005 11:06 pm

therez alots of ways to find the child of the wtlsplitterwindow parent
usin gw_child i guess. dono :?
but u can also use the "vbnullstring" inplace of the "alt:______"

Code: Select all
anything = FindWindowEx(wtlsplitterwindow, 0&, vbNullString, vbNullString)
User avatar
Project SP
imFiles Junior
imFiles Junior
 
Posts: 98
Joined: Wed Nov 24, 2004 11:32 pm
Location: LOCALHOST

Postby locohacker » Fri Jan 28, 2005 7:27 am

Aigh guys thanks I check on those lol everyday I learn new things :)
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4325
Joined: Fri Dec 31, 2004 6:59 pm

Postby Departure » Thu Mar 17, 2005 11:36 am

interesting subject the best way i know how to overcome the paltalk version problem is to make it a wildcard :O)

Public Function FindWindowWild(sWild As String, Optional bMatchCase As Boolean = True) As Long
sPattern = sWild
If Not bMatchCase Then sPattern = UCase(sPattern)
EnumWindows AddressOf EnumWinProc, bMatchCase
FindWindowWild = hFind
End Function

This is what i used in older paltalk versions, I have'nt really looked into the new paltalk 7 as i have'nt been on paltalk for a long time
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby locohacker » Thu Mar 17, 2005 2:55 pm

:) nice code there i will try out in one of my programs, cause is crazy always updating the programs :)
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4325
Joined: Fri Dec 31, 2004 6:59 pm

Postby xavier01 » Mon Apr 18, 2005 1:28 am

if you switched its to proto then you dont have to worry about chat sends that way, whoever has the proto dll that is making chat programs for pal, you can use that.

You would actually login the program to paltalk and wouldnt need paltalk up at all just do direct sends through protocol into room, then you would only have to update when they change there protocol or server side software.
xavier01
imFiles Newbie
imFiles Newbie
 
Posts: 23
Joined: Tue Apr 05, 2005 1:27 am

Postby locohacker » Mon Apr 18, 2005 9:19 am

damn that would be great, but u think is posible, i mean to send messeges without actually bein in paltalk
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4325
Joined: Fri Dec 31, 2004 6:59 pm

Postby xavier01 » Mon Apr 18, 2005 6:51 pm

yea used to make proto for yahoo, but there was a vinky.dll he had all the proto stuff in there already so everyone used his dll. but yea its easy to do hard part is the dll, if there are any programs that can actually login to paltalk then they have a dll to read the proto
xavier01
imFiles Newbie
imFiles Newbie
 
Posts: 23
Joined: Tue Apr 05, 2005 1:27 am

Postby locohacker » Mon Apr 18, 2005 7:24 pm

Aigh thas something cool to check on :)
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4325
Joined: Fri Dec 31, 2004 6:59 pm

Postby Departure » Wed Apr 20, 2005 3:59 am

Okay this is an example to send text to anypaltalk version...well not any but i have included versions 553, version 7 and version 8, you could add to this or simple just use the .bas with any of your programs to send text to the correct version of paltalk

Please people send feed back and idea's , if all work together on ideas im sure
future programs will benifit.
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby locohacker » Wed Apr 20, 2005 9:20 am

hey but u have to choose the option, is there anyway u can make it auto, without chooseing the option to which paltalk u have at that time,

:) if its posible
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4325
Joined: Fri Dec 31, 2004 6:59 pm

Next

Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests