CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: msn messanger

  1. #1
    Join Date
    May 2001

    msn messanger

    I have many accounts of hotmail so I have thing about program in which i will enter all username and passwords and when i calick any username is should sign in msn messanger

  2. #2
    Join Date
    May 2001

    Re: msn messanger

    Add Reference to MSN Messenger Type Library using Project | References (c:\program files\messenger\msmsgs.exe)

    To login using VB Code.

    Dim pMess as new Messenger.MsgrObject
    Dim pService as IMsgrService
    set pService = pMess.Services(0)

    ' to login
    pMess.Logon "", "password", pService

    'pMess.Logoff ' to logoff

    --Take the life as it comes--

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)