Paltalk Mass Invite Friends to Chatroom

Paltalk programs

Re: Paltalk Mass Invite Friends to Chatroom

Postby NVYE » Sat Nov 01, 2008 9:52 pm


You first get SystListView

Then you get the total count of the users ...

then you loop through or highlight list view item .... then you use the WM_COMMAND to add to the buddy list.

The link I gave you has the GRABBER (Mass Add) ... add all nicks to your buddy list ... I tested work really well.

Now I need to write the script to remove the nik off the buddy list.

Paltalk allows you to have 199 members only.
Add-on Bots for educational and amusement purposes:
http://www.vnfox.com

Website:
http://www.asktechguy.com
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 234
Joined: Fri Jun 10, 2005 11:29 pm

Re: Paltalk Mass Invite Friends to Chatroom

Postby method » Mon Nov 03, 2008 6:22 pm

NVYE many many thanks for pointing me to that program. I tried it and it works so cool .:-)
Good to hear that you are working on a program to delete the buddy list. Hope to see it in action soon. Furthermore, I wonder if it is hard to make a program to backup and restore paltalk names from registery? It would be nice if we be able to backup those names and later restore them just incase we have to re install windows .
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Re: Paltalk Mass Invite Friends to Chatroom

Postby Departure » Tue Nov 04, 2008 1:37 am

im sure locohacker made one ages ago, it still might be on this site some where
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Re: Paltalk Mass Invite Friends to Chatroom

Postby method » Fri Nov 07, 2008 1:27 am

Departure wrote:im sure locohacker made one ages ago, it still might be on this site some where


I know there was one that only back up and we couldn't restore the names automatically!!!
could you post the name of it so i be able to find it? Thanks
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Re: Paltalk Mass Invite Friends to Chatroom

Postby TWiZA » Mon Nov 10, 2008 8:05 am

NVYE wrote:One thing about VB which is really annoying ... everytime you use a send message and there is popup ... the program stop executing ...

until you click okay.... so you need to load 2 executes files for this ...

If anyone knows how to embed an exe inside the main exe file then I really appreciated.



If you code in .net , you can use backgroundworker.
here some copy paste from mass actions

-> ptkTWiZA : my paltalk class , it contains most methods to deal with paltalk
-> Tr : backGroundWorker name's
-> isRun bool variable to declare in general section
-> DLG() : procedure that close message dialogs and check invite list

Code: Select all
Sub DoMassAcions()
      isRun = True
        Tr.RunWorkerAsync()
      ' instructions
       'instructions
       'instructions
      System.Threading.Thread.Sleep(1000)
        isRun = False
      
End sub

Private Sub DLG()
        Try
            PtkTWiZA.CloseDialog("Adding Pal", "Ok")
            PtkTWiZA.CloseDialog("Note", "Ok")
            PtkTWiZA.CloseDialog("Notice From Paltalk", "Ok")

            Dim dlgHWD As Integer = PtkTWiZA.FindWindow("#32770", "Invite to Room")
            If dlgHWD > 0 Then
                Dim C As New PtkTWiZA(dlgHWD, "Invite")
                Dim j As Integer = C.UsersCount
                If j > 0 Then
                    For i As Integer = 0 To j - 1
                        C.SelectUser(i)
                    Next
                End If
            End If
            PtkTWiZA.CloseDialog("Invite to Room", "Invite")
        Catch
        End Try
    End Sub
   
   Private Sub Tr_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles Tr.DoWork
        Do While isRun
            DLG()
            System.Threading.Thread.Sleep(30)
        Loop
    End Sub


if you code in vb6, you can put DLG sun in an external exe and run with shell or shellExecute


method wrote:I wonder if it is hard to make a program to backup and restore paltalk names from registery? It would be nice if we be able to backup those names and later restore them just incase we have to re install windows


No need for a program to do that
- open regedit
- find this key [HKEY_CURRENT_USER\Software\Paltalk]
- right click - > export
TWiZA
imFiles Newbie
imFiles Newbie
 
Posts: 39
Joined: Wed Jul 16, 2008 11:15 am

Re: Paltalk Mass Invite Friends to Chatroom

Postby NVYE » Mon Nov 10, 2008 1:04 pm

TWiZA thanks bro for pointing that out ... Background worker works really well.

Really appreciated, it was helpful.

I'm giving up with VB6. Framework 2.0+ is much better than VB6.
Add-on Bots for educational and amusement purposes:
http://www.vnfox.com

Website:
http://www.asktechguy.com
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 234
Joined: Fri Jun 10, 2005 11:29 pm

Re: Paltalk Mass Invite Friends to Chatroom

Postby TWiZA » Tue Nov 11, 2008 4:23 pm

you welcome NVYE

I did the same thing with vb6, recruiters talk about .net or J2ee no more vb6.
My first program in .net was Admin Board.
TWiZA
imFiles Newbie
imFiles Newbie
 
Posts: 39
Joined: Wed Jul 16, 2008 11:15 am

Re: Paltalk Mass Invite Friends to Chatroom

Postby method » Mon Nov 17, 2008 10:25 am

NVYE can you update us about the delete all buddies project ? Thanks
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Re: Paltalk Mass Invite Friends to Chatroom

Postby method » Sat Apr 11, 2009 6:22 am

NVYE wrote:You first get SystListView

Then you get the total count of the users ...

then you loop through or highlight list view item .... then you use the WM_COMMAND to add to the buddy list.

The link I gave you has the GRABBER (Mass Add) ... add all nicks to your buddy list ... I tested work really well.

Now I need to write the script to remove the nik off the buddy list.

Paltalk allows you to have 199 members only.

NVYE suppose an item in listview is selected how i send WM_COMMAND to add to the buddy list using vb6? Furthermore, suppose we got 10 items listview how you go to next item when you are sure the first item is proccessed ? do you use some sort of sleep funciton ?
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Re: Paltalk Mass Invite Friends to Chatroom

Postby NVYE » Sat Apr 11, 2009 4:29 pm

There are so many ways you can do this.

Method 1:
Send {TOP} to select the first item.
then send {DOWN} to select the next time.

Method 2:
First select the top index 0.

then highlight text base on index (index + 1)

get the total count first (how many users in the room)

for i as integer = 0 to totalUsers -1
addUserToList(param, param)
next i

hope this helps.
Add-on Bots for educational and amusement purposes:
http://www.vnfox.com

Website:
http://www.asktechguy.com
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 234
Joined: Fri Jun 10, 2005 11:29 pm

Re: Paltalk Mass Invite Friends to Chatroom

Postby method » Sat Apr 11, 2009 5:53 pm

nvye thanks for your reply but how to add to list ? I need to know that part . What is code for adding ?(addUserToList(param, param) )
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Previous

Return to Paltalk Programs

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests