IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> VB.net 2008, How working?
PJM
post Dec 18 2008, 10:20 PM
Post #1


Mess.bean
*

Group: Members
Posts: 2
Joined: 18-December 08
Member No.: 39,387



Hello People!

I'm new in forum and search before post, so if i do double post sorry.

I want to know if is possible to do a program in VB.net 2008 that permit's me to see which contacts are online in WL Messenger (once i can do it, but was in VB 6.0 and i saw it in your forum)

Thanks for the help and sorry to me such noob msn_dunno.gif
Go to the top of the page
 
+Quote Post
Stigmata
post Dec 19 2008, 12:48 AM
Post #2


Mess.betterthanyours
Group Icon

Group: Supervisor
Posts: 1,951
Joined: 5-September 04
From: Uk
Member No.: 79



yep thats totally possible msn_happy.gif

Adding and setting a reference:

The first thing you need to do is add a messengber reference to your project.
So when you start, create a new project and when the form design is in view, at the top of the window, goto "Project" and then "Add Reference".
When the dialog appears, click the "COM" tab at the top of the window, then navigate the list for "Messenger API Type Library". Click on it and press, you have now added a reference to your project.

Now you want to set the reference. Navigate to your code view (you can do this by double clicking on the form) and write:
CODE
Public Class Form1

    Public WithEvents msnobj As MessengerAPI.Messenger

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        msnobj = New MessengerAPI.Messenger


    End Sub
End Class


This sets msnobj as the messenger obj in vb2008.

The rest you should be able to gather from this thread:
http://forum.mess.be/index.php?showtopic=357


Good luck

Go to the top of the page
 
+Quote Post
PJM
post Dec 19 2008, 12:16 PM
Post #3


Mess.bean
*

Group: Members
Posts: 2
Joined: 18-December 08
Member No.: 39,387



Yes, it works.

Thanks for the help msn_cool.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 23rd February 2019 - 09:31 AM
2004-2008 Seb Skuse, mess.be.
MessForum v6.1.4 - created for, and for use only by mess.be.