Skip to content

Paltalk Mass Invite Friends to Chatroom

Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • #175975
    AhFox
    Member

    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.

    #175974
    method
    Member

    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 .

    #175973
    Departure
    Member

    im sure Admin made one ages ago, it still might be on this site some where

    #175972
    method
    Member

    @Departure wrote:

    im sure Admin 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

    #175971
    TWiZA
    Member

    @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


    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_USERSoftwarePaltalk]
    – right click – > export

    #175970
    AhFox
    Member

    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.

    #175969
    TWiZA
    Member

    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.

    #175968
    method
    Member

    NVYE can you update us about the delete all buddies project ? Thanks

    #175967
    method
    Member

    @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 ?

    #175966
    AhFox
    Member

    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.

    #175965
    method
    Member

    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) )

Viewing 11 posts - 16 through 26 (of 26 total)
  • You must be logged in to reply to this topic.