Results 1 to 6 of 6

Thread: MSN messenger - IM Window

  1. #1

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    MSN messenger - IM Window

    Dug around and cant seem to find what i need.. or if its possible.

    Is there a way to "replace" the im window

    Heres what I have so far..(pic below) its the main window with the contacts in it.. (its an IDE Add-in)

    so what I would like is a way to make another window for the IM's..
    right now all i can get is the MSN IM window to open.

    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  2. #2
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: MSN messenger - IM Window

    well, i was going to suggest having a look at woka's Badger Messenger, it piggybacks on the MSN network but everything's controlled by the prog - however there is a hell of a lot of code might take you ages to get something useful.

    how are you currently doing what you're doing?

  3. #3

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: MSN messenger - IM Window

    Actually what Ive done took no time ... its very easy
    I can see other objects for IM windows, receiving text.. etc.. just cant find how to use them!!! LOL

    Add refs to:

    Messenger API Type Library
    Meesenger Type Library

    then

    VB Code:
    1. Public WithEvents MSN As MessengerAPI.Messenger
    2.  
    3. Private Sub UserDocument_Initialize()  'Or form load ;)
    4.     Set MSN = New MessengerAPI.Messenger
    5. End Sub
    6.  
    7. Private Sub AddContacts()
    8.     On Error Resume Next
    9.     SB1.Panels(1).Text = MSN.MyFriendlyName
    10.     SB1.Panels(2).Text = GetStatus(MSN.MyStatus)
    11.     Dim MG As MessengerAPI.IMessengerGroup
    12.     Dim MC As MessengerAPI.IMessengerContact
    13.     For Each MG In MSN.MyGroups
    14.          'Add Group in treeview
    15.          For Each MC In MG.Contacts
    16.                'Add COntact to that group
    17.          Next
    18.     NExt
    19.     'then catch ones without groups...
    20.     For Each MC In MSN.MyContacts
    21.          'Add to treeview
    22.     Next
    23. End sub

    Like that... i clipped out a lot of the code.. since I am testing for online / offline too.. plus status..

    but that part was easy.

    if u want I can zip up what I have and post it..
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  4. #4

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: MSN messenger - IM Window

    whats wrong with the vbcode tags?
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  5. #5

  6. #6

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: MSN messenger - IM Window

    ahhh
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

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