- This topic has 25 replies, 8 voices, and was last updated 15 years ago by Admin.
-
AuthorPosts
-
November 2, 2008 at 2:52 am #175975AhFoxMember
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.
November 3, 2008 at 11:22 pm #175974methodMemberNVYE 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 .November 4, 2008 at 6:37 am #175973DepartureMemberim sure Admin made one ages ago, it still might be on this site some where
November 7, 2008 at 6:27 am #175972methodMember@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? ThanksNovember 10, 2008 at 1:05 pm #175971TWiZAMember@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 – > exportNovember 10, 2008 at 6:04 pm #175970AhFoxMemberTWiZA 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.
November 11, 2008 at 9:23 pm #175969TWiZAMemberyou 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.November 17, 2008 at 3:25 pm #175968methodMemberNVYE can you update us about the delete all buddies project ? Thanks
April 11, 2009 at 11:22 am #175967methodMember@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 ?
April 11, 2009 at 9:29 pm #175966AhFoxMemberThere 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 ihope this helps.
April 11, 2009 at 10:53 pm #175965methodMembernvye thanks for your reply but how to add to list ? I need to know that part . What is code for adding ?(addUserToList(param, param) )
-
AuthorPosts
Related
- You must be logged in to reply to this topic.