hey guys, just thought i would share something with you all.
as you proberly know I am remaking a trigger bot, Well while im making the trigger bot i thought of an easy way to keep it upto date with every new paltalk build without having to download a new version of the trigger bot...
Simple solution that works a treat.... read on...
it seems with every new build they only change one thing and that is the
- Code: Select all
atlfe = FindWindowEx(wtlsplitterwindow, 0&, "atl:0053d798", vbNullString)
what you must take note of is "atl:0053d798" that seems to be the one that changes,
So what you need to do is the following..
1. put this in your module
- Code: Select all
Global stralfe As String
and also put this
- Code: Select all
Function getupdate(tfilename$)
On Error Resume Next
Dim text As Integer
Dim txt As String
text = FreeFile
Open tfilename For Input As text
txt = Input(LOF(text), text)
getupdate = txt
Close #text
End Function
then change
- Code: Select all
atlfe = FindWindowEx(wtlsplitterwindow, 0&, "atl:0053d798", vbNullString)
to
- Code: Select all
atlfe = FindWindowEx(wtlsplitterwindow, 0&, stralfe, vbNullString)
the on your form put
- Code: Select all
Private Sub Form_Load()
stralt = getupdate(App.Path & "\Update.txt")
End Sub
open your update.txt file and just paste atl:0053d798 (thats for paltalk build 122)
and next time paltalk updates all the user has to do is download the current Update.txt and it saving having to recode and it saves the user haviong to redownload a new version of your app every time.
extra note: the Update.txt can also be stored onto a web server and each time your app loads it can be made to collect the info from the web server instead, thus saving the user from downloading anything :O)
I will be using this in my Paltalk trigger bot , and if you guys want to use this idea then give me credits in your app.
if you guys need an example code to show you what i mean , just ask and ill post the example of that here on this forum







