<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nina.chat/index.php?action=history&amp;feed=atom&amp;title=Portal%3AAOL-Files%2FArticles%2FAdd_Buddies</id>
	<title>Portal:AOL-Files/Articles/Add Buddies - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nina.chat/index.php?action=history&amp;feed=atom&amp;title=Portal%3AAOL-Files%2FArticles%2FAdd_Buddies"/>
	<link rel="alternate" type="text/html" href="https://wiki.nina.chat/index.php?title=Portal:AOL-Files/Articles/Add_Buddies&amp;action=history"/>
	<updated>2026-06-26T14:38:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.nina.chat/index.php?title=Portal:AOL-Files/Articles/Add_Buddies&amp;diff=3927&amp;oldid=prev</id>
		<title>AD: AD moved page Portals:AOL-Files/Articles/Add Buddies to Portal:AOL-Files/Articles/Add Buddies</title>
		<link rel="alternate" type="text/html" href="https://wiki.nina.chat/index.php?title=Portal:AOL-Files/Articles/Add_Buddies&amp;diff=3927&amp;oldid=prev"/>
		<updated>2021-06-19T03:05:30Z</updated>

		<summary type="html">&lt;p&gt;AD moved page &lt;a href=&quot;/wiki/Portals:AOL-Files/Articles/Add_Buddies&quot; class=&quot;mw-redirect&quot; title=&quot;Portals:AOL-Files/Articles/Add Buddies&quot;&gt;Portals:AOL-Files/Articles/Add Buddies&lt;/a&gt; to &lt;a href=&quot;/wiki/Portal:AOL-Files/Articles/Add_Buddies&quot; title=&quot;Portal:AOL-Files/Articles/Add Buddies&quot;&gt;Portal:AOL-Files/Articles/Add Buddies&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:05, 19 June 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki-wiki_:diff:1.41:old-3275:rev-3927 --&gt;
&lt;/table&gt;</summary>
		<author><name>AD</name></author>
	</entry>
	<entry>
		<id>https://wiki.nina.chat/index.php?title=Portal:AOL-Files/Articles/Add_Buddies&amp;diff=3275&amp;oldid=prev</id>
		<title>AD at 03:00, 16 October 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.nina.chat/index.php?title=Portal:AOL-Files/Articles/Add_Buddies&amp;diff=3275&amp;oldid=prev"/>
		<updated>2020-10-16T03:00:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:00, 16 October 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{AOL-Files}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{AOL-Files&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|section=articles&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(Originally by AOL-Files staff member Tau)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(Originally by AOL-Files staff member Tau)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AD</name></author>
	</entry>
	<entry>
		<id>https://wiki.nina.chat/index.php?title=Portal:AOL-Files/Articles/Add_Buddies&amp;diff=3091&amp;oldid=prev</id>
		<title>AD: Created page with &quot;{{AOL-Files}}  (Originally by AOL-Files staff member Tau)  '''Purpose:''' This code will add all of the users buddies to a listbox. The code supports multiple categories and l...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nina.chat/index.php?title=Portal:AOL-Files/Articles/Add_Buddies&amp;diff=3091&amp;oldid=prev"/>
		<updated>2020-10-02T08:48:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{AOL-Files}}  (Originally by AOL-Files staff member Tau)  &amp;#039;&amp;#039;&amp;#039;Purpose:&amp;#039;&amp;#039;&amp;#039; This code will add all of the users buddies to a listbox. The code supports multiple categories and l...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{AOL-Files}}&lt;br /&gt;
&lt;br /&gt;
(Originally by AOL-Files staff member Tau)&lt;br /&gt;
&lt;br /&gt;
'''Purpose:'''&lt;br /&gt;
This code will add all of the users buddies to a listbox. The code supports multiple categories and lagged connections.&lt;br /&gt;
&lt;br /&gt;
'''Requirements:'''&lt;br /&gt;
This code requires a ListBox named List1 and a Command Button named Command1. Both of these names can be modified in the last Sub.&lt;br /&gt;
&lt;br /&gt;
'''System:'''&lt;br /&gt;
This code will function on Visual Basic versions 5.0 and 6.0, is to be used with no BAS file, and on America Online versions 4.0 and 5.0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Private Declare Function FindWindow Lib &amp;quot;user32&amp;quot; Alias &amp;quot;FindWindowA&amp;quot; (ByVal lpClassName As String, ByVal lpWindowName As String) As Long&lt;br /&gt;
Private Declare Function FindWindowEx Lib &amp;quot;user32&amp;quot; Alias &amp;quot;FindWindowExA&amp;quot; (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long&lt;br /&gt;
Private Declare Function GetTickCount&amp;amp; Lib &amp;quot;kernel32&amp;quot; ()&lt;br /&gt;
Private Declare Function SendMessageByString Lib &amp;quot;user32&amp;quot; Alias &amp;quot;SendMessageA&amp;quot; (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As Long&lt;br /&gt;
Private Declare Function SendMessage Lib &amp;quot;user32&amp;quot; Alias &amp;quot;SendMessageA&amp;quot; (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long&lt;br /&gt;
Private Declare Function GetWindowThreadProcessId Lib &amp;quot;user32&amp;quot; (ByVal hwnd As Long, lpdwProcessId As Long) As Long&lt;br /&gt;
Private Declare Function OpenProcess Lib &amp;quot;kernel32&amp;quot; (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long&lt;br /&gt;
Private Declare Function ReadProcessMemory Lib &amp;quot;kernel32&amp;quot; (ByVal hProcess As Long, ByVal lpBaseAddress As Long, ByVal lpBuffer As String, ByVal nSize As Long, ByRef lpNumberOfBytesWritten As Long) As Long&lt;br /&gt;
Private Declare Sub CopyMemory Lib &amp;quot;kernel32&amp;quot; Alias &amp;quot;RtlMoveMemory&amp;quot; (destination As Any, Source As Any, ByVal Length As Long)&lt;br /&gt;
Private Declare Function SendMessageLong&amp;amp; Lib &amp;quot;user32&amp;quot; Alias &amp;quot;SendMessageA&amp;quot; (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long)&lt;br /&gt;
Private Declare Function PostMessage Lib &amp;quot;user32&amp;quot; Alias &amp;quot;PostMessageA&amp;quot; (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Private Const WM_GETTEXT = &amp;amp;HD&lt;br /&gt;
Private Const WM_GETTEXTLENGTH = &amp;amp;HE&lt;br /&gt;
Private Const WM_LBUTTONDBLCLK = &amp;amp;H203&lt;br /&gt;
Private Const WM_CLOSE = &amp;amp;H10&lt;br /&gt;
&lt;br /&gt;
Private Const LB_GETITEMDATA = &amp;amp;H199&lt;br /&gt;
Private Const LB_SETCURSEL = &amp;amp;H186&lt;br /&gt;
Private Const LB_GETCOUNT = &amp;amp;H18B&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Private Const CB_GETCOUNT = &amp;amp;H146&lt;br /&gt;
Private Const WM_CHAR = &amp;amp;H102&lt;br /&gt;
Private Const WM_SETTEXT = &amp;amp;HC&lt;br /&gt;
Private Const VK_RETURN = &amp;amp;HD&lt;br /&gt;
Private Const VK_SPACE = &amp;amp;H20&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Private Sub Keyword(Keyword As String)&lt;br /&gt;
    Dim AOL As Long, tool As Long, Toolbar As Long&lt;br /&gt;
    Dim Combo As Long, EditWin As Long&lt;br /&gt;
    AOL&amp;amp; = FindWindow(&amp;quot;AOL Frame25&amp;quot;, vbNullString)&lt;br /&gt;
    tool&amp;amp; = FindWindowEx(AOL&amp;amp;, 0&amp;amp;, &amp;quot;AOL Toolbar&amp;quot;, vbNullString)&lt;br /&gt;
    Toolbar&amp;amp; = FindWindowEx(tool&amp;amp;, 0&amp;amp;, &amp;quot;_AOL_Toolbar&amp;quot;, vbNullString)&lt;br /&gt;
    Combo&amp;amp; = FindWindowEx(Toolbar&amp;amp;, 0&amp;amp;, &amp;quot;_AOL_Combobox&amp;quot;, vbNullString)&lt;br /&gt;
    EditWin&amp;amp; = FindWindowEx(Combo&amp;amp;, 0&amp;amp;, &amp;quot;Edit&amp;quot;, vbNullString)&lt;br /&gt;
    Do: DoEvents&lt;br /&gt;
        Call SendMessageByString(EditWin&amp;amp;, WM_SETTEXT, 0&amp;amp;, Keyword$)&lt;br /&gt;
        sText$ = GetText(EditWin&amp;amp;)&lt;br /&gt;
    Loop Until sText$ = Keyword$&lt;br /&gt;
    Call SendMessageLong(EditWin&amp;amp;, WM_CHAR, VK_SPACE, 0&amp;amp;)&lt;br /&gt;
    Call SendMessageLong(EditWin&amp;amp;, WM_CHAR, VK_RETURN, 0&amp;amp;)&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Function GetText(hwnd As Long) As String&lt;br /&gt;
    Dim GetLen As Long, StringText As String, GetString As Long&lt;br /&gt;
    GetLen&amp;amp; = SendMessage(hwnd&amp;amp;, WM_GETTEXTLENGTH, 0&amp;amp;, 0&amp;amp;)&lt;br /&gt;
    If hwnd&amp;amp; = 0 Then GetText$ = 0: Exit Function&lt;br /&gt;
    StringText$ = String$(GetLen&amp;amp; + 1, Chr$(0))&lt;br /&gt;
    Call SendMessageByString(hwnd&amp;amp;, WM_GETTEXT, GetLen&amp;amp; + 1, StringText$)&lt;br /&gt;
        Do: DoEvents&lt;br /&gt;
            If Right(StringText$, 1) = Chr(0) Then StringText$ = Left(StringText$, Len(StringText$) - 1)&lt;br /&gt;
        Loop Until Right(StringText$, 1) &amp;lt;&amp;gt; Chr(0)&lt;br /&gt;
        GetText = StringText$&lt;br /&gt;
End Function&lt;br /&gt;
&lt;br /&gt;
Private Function AOLListItem(aoList As Long, index As Long) As String&lt;br /&gt;
    Dim cProcess As Long, itmHold As Long, ScreenName As String&lt;br /&gt;
    Dim psnHold As Long, rBytes As Long, Room As Long&lt;br /&gt;
    Dim rList As Long, sThread As Long, mThread As Long&lt;br /&gt;
    Dim lIndex As Long&lt;br /&gt;
            rList&amp;amp; = aoList&lt;br /&gt;
            sThread&amp;amp; = GetWindowThreadProcessId(rList, cProcess&amp;amp;)&lt;br /&gt;
            mThread&amp;amp; = OpenProcess(0, False, cProcess&amp;amp;)&lt;br /&gt;
            pSN$ = String$(4, vbNullChar)&lt;br /&gt;
            itmHold&amp;amp; = SendMessage(rList, LB_GETITEMDATA, ByVal CLng(index&amp;amp;), ByVal 0&amp;amp;)&lt;br /&gt;
            itmHold&amp;amp; = itmHold&amp;amp; + 24&lt;br /&gt;
            Call ReadProcessMemory(mThread&amp;amp;, itmHold&amp;amp;, pSN$, 4, rBytes)&lt;br /&gt;
            Call CopyMemory(psnHold&amp;amp;, ByVal pSN$, 4)&lt;br /&gt;
            psnHold&amp;amp; = psnHold&amp;amp; + 6&lt;br /&gt;
            pSN$ = String$(16, vbNullChar)&lt;br /&gt;
            Call ReadProcessMemory(mThread&amp;amp;, psnHold&amp;amp;, pSN$, Len(pSN$), rBytes&amp;amp;)&lt;br /&gt;
            If InStr(pSN$, vbNullChar) = 0 Then AOLListItem = pSN$: Exit Function&lt;br /&gt;
            pSN$ = Left$(pSN$, InStr(pSN$, vbNullChar) - 1)&lt;br /&gt;
            Do: DoEvents&lt;br /&gt;
                If Right(pSN$, 1) = Chr(0) Then pSN$ = Left(pSN$, Len(pSN$) - 1)&lt;br /&gt;
            Loop Until Right(pSN$, 1) &amp;lt;&amp;gt; Chr(0)&lt;br /&gt;
            AOLListItem = pSN$&lt;br /&gt;
End Function&lt;br /&gt;
&lt;br /&gt;
Private Sub BuddiesAddToList(List As ListBox)&lt;br /&gt;
'Declare all of the variables&lt;br /&gt;
Dim AOL&amp;amp;, MDI&amp;amp;, BuddyLists&amp;amp;, AOLStatic&amp;amp;, AOLBuddyLists&amp;amp;&lt;br /&gt;
Dim GroupItem$, GroupCount&amp;amp;, GetGroup&amp;amp;, GroupName$, WinTitle$&lt;br /&gt;
Dim EditGroup&amp;amp;, BuddyGroup&amp;amp;, GroupAmount%, GetBuddy&amp;amp;&lt;br /&gt;
'Open up the Buddy List control panel that has the&lt;br /&gt;
'Create, Edit, and Delete features&lt;br /&gt;
Keyword &amp;quot;Buddy&amp;quot;&lt;br /&gt;
'Obtain the handle of the main AOL window and the MDIClient&lt;br /&gt;
'Also see AOL Class Names Tutorial&lt;br /&gt;
AOL = FindWindow(&amp;quot;AOL Frame25&amp;quot;, vbNullString)&lt;br /&gt;
MDI = FindWindowEx(AOL, 0, &amp;quot;MDIClient&amp;quot;, vbNullString)&lt;br /&gt;
'Set up a loop to wait for the Buddy List Edit window&lt;br /&gt;
'to open. This code waits for the label(_AOL_Staic) that&lt;br /&gt;
'contains the text &amp;quot;Buddy List Setup&amp;quot;.&lt;br /&gt;
Do: DoEvents&lt;br /&gt;
'BuddyLists     = The AOL Child which is the Buddy List control panel&lt;br /&gt;
'AOLStatic     = Handle of the label that says &amp;quot;Buddy List Setup&amp;quot;&lt;br /&gt;
'AOLBuddyLists = Handle of the list box that has the different Buddy categories&lt;br /&gt;
    BuddyLists = FindWindowEx(MDI, 0, &amp;quot;AOL Child&amp;quot;, vbNullString)&lt;br /&gt;
    AOLStatic = FindWindowEx(BuddyLists, 0, &amp;quot;_AOL_Static&amp;quot;, vbNullString)&lt;br /&gt;
    AOLBuddyLists = FindWindowEx(BuddyLists, 0, &amp;quot;_AOL_Listbox&amp;quot;, vbNullString)&lt;br /&gt;
Loop Until GetText(AOLStatic) = &amp;quot;Buddy List Setup&amp;quot; And AOLBuddyLists And BuddyLists&lt;br /&gt;
'GroupCount     = how many Buddy List categories there are&lt;br /&gt;
GroupCount = SendMessage(AOLBuddyLists&amp;amp;, LB_GETCOUNT, 0, 0)&lt;br /&gt;
'Now we set up a loop to go through all the different categories&lt;br /&gt;
'based upon the number obtained by GroupCount&lt;br /&gt;
For GetGroup = 0 To GroupCount&amp;amp; - 1&lt;br /&gt;
'The Buddy category list is set up as follows:&lt;br /&gt;
'(Category Name) + Tab + (Category Count)&lt;br /&gt;
'Group Item = The entire thing&lt;br /&gt;
'Group Name = The Category Name&lt;br /&gt;
'Group Amount = Category Count GroupItem = AOLListItem(AOLBuddyLists, GetGroup) GroupName = Left(GroupItem, InStr(GroupItem, Chr(9)) - 1) GroupAmount = Val(Mid(GroupItem, InStr(GroupItem, Chr(9)) + 1))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'Set the focus to the group that is about to be obtained&lt;br /&gt;
Call PostMessage(AOLBuddyLists, LB_SETCURSEL, GetGroup, 0&amp;amp;)&lt;br /&gt;
'Double click the group that is about to be obtained&lt;br /&gt;
'Which will open up the group with all the buddies in that category&lt;br /&gt;
Call PostMessage(AOLBuddyLists, WM_LBUTTONDBLCLK, 0&amp;amp;, 0&amp;amp;)&lt;br /&gt;
'The title window for each category window is &amp;quot;Edit List &amp;quot; + The Name of the Category WinTitle = &amp;quot;Edit List &amp;quot; &amp;amp; GroupName&lt;br /&gt;
&lt;br /&gt;
'Set up a loop to ensure that the list box is loaded with all of the&lt;br /&gt;
'buddies in that category. We can tell when all are loaded because&lt;br /&gt;
'before we found how many buddies were in the group via the category list&lt;br /&gt;
'So this loop continues until the number of items in the screen name list&lt;br /&gt;
'is the same as the number&lt;br /&gt;
Do: DoEvents&lt;br /&gt;
'EditGroup = The edit a specific buddy category window&lt;br /&gt;
'BuddyGroup = The list box with all the screen names in it         EditGroup = FindWindowEx(MDI, 0, &amp;quot;AOL Child&amp;quot;, WinTitle)         BuddyGroup = FindWindowEx(EditGroup, 0, &amp;quot;_AOL_Listbox&amp;quot;, vbNullString)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Loop Until SendMessage(BuddyGroup, LB_GETCOUNT, 0, 0) = GroupAmount&lt;br /&gt;
'Set up a loop to go through the screen name list box&lt;br /&gt;
'and retreive all the screen names in it&lt;br /&gt;
For GetBuddy = 0 To GroupAmount - 1         Buddy = AOLListItem(BuddyGroup, GetBuddy&amp;amp;)&lt;br /&gt;
&lt;br /&gt;
'As long as the screen name isn't blank, add it to the list box         &lt;br /&gt;
If Buddy &amp;lt;&amp;gt; &amp;quot;&amp;quot; Then List.AddItem Buddy&lt;br /&gt;
Next GetBuddy&lt;br /&gt;
'Now we go to the next category&lt;br /&gt;
Next GetGroup&lt;br /&gt;
'Close the edit specific category window SendMessage EditGroup, WM_CLOSE, 0, 0&lt;br /&gt;
&lt;br /&gt;
'Close the Buddy List control panel window SendMessage BuddyLists, WM_CLOSE, 0, 0&lt;br /&gt;
&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub Command1_Click() BuddiesAddToList List1 Me.Caption = &amp;quot;Count: &amp;quot; &amp;amp; List1.ListCount&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
End Sub&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:AOL]]&lt;br /&gt;
[[Category:AOL-Files]]&lt;br /&gt;
[[Category:FDO-Files]]&lt;/div&gt;</summary>
		<author><name>AD</name></author>
	</entry>
</feed>