Results 1 to 2 of 2

Thread: Msn Api

  1. #1

    Thread Starter
    New Member |†§ÄM ™ © ²ºº³†'s Avatar
    Join Date
    Jul 2003
    Location
    Nebraska
    Posts
    1

    Msn Api

    I need help on scrollers for a windows messenger addon

    VB Code:
    1. Dim WithEvents MSN As MsgrObject
    2. Dim User As IMsgrUser
    3. Private MSNAPI As New MessengerAPI.Messenger
    4.  
    5. Private Sub Command1_Click()
    6. On Error Resume Next
    7. If Option1.Value = True Then
    8. For i = Index To Messenger.IMWindows.Count
    9. Messenger.IMWindows.Item(i).SendText Text1.Text
    10. End If
    11. Next
    12. End Sub
    Last edited by |†§ÄM ™ © ²ºº³†; Jul 29th, 2003 at 12:11 PM.
    huffman_2000@hotmail.com
    |†§ÄM ™ © ²ºº³†

  2. #2
    Fanatic Member LITHIA's Avatar
    Join Date
    Dec 2002
    Location
    UK, England
    Posts
    575
    sorry i cant help you, but i saw by your method of posting is way un-nessecary.

    All you needed to do is write [vbcode ] (without the space

    and close it off with [/vbcode ] (without the space)

    it does all the colouring for your code iteslf and more efficiently

    so it looks like this
    VB Code:
    1. Dim WithEvents MSN As MsgrObject
    2. Dim User As IMsgrUser
    3. Private MSNAPI As New MessengerAPI.Messenger
    4.  
    5.  
    6. Private Sub Command1_Click()
    7. On Error Resume Next
    8. If Option1.Value = True Then
    9. For i = Index To Messenger.IMWindows.Count
    10. Messenger.IMWindows.Item(i).SendText Text1.Text
    11. Next
    12. End If
    13. End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width