What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Problem with messenger api

Problem with messenger api
Author: Message:
KooKiz
Junior Member
**


Posts: 41
Joined: Oct 2004
O.P. Problem with messenger api
Hi,
I've got a very annoying problem with visual studio since a few weeks.  I can't use windows messenger's api functions anymore. For exemple, when I load the exemple template for visual basic.net (MPAdvPluginVB), I've got an error at the line :
Public Shared WithEvents oMessenger As MessengerAPI.MessengerClass

Error is : Name 'MessengerAPI' is not declared.

When I look at the references, there is an exclamation mark in front of MessengerAPI.

I tryed to reinstall msn and msgplus, without any result.

Do you know where this problem come from, and a way to fix it ? Is there a way to uninstall windows messenger so I can reinstall it ?

This post was edited on 01-12-2005 at 11:57 AM by KooKiz.
01-12-2005 11:56 AM
Profile PM Find Quote Report
Ash_
Senior Member
****

Avatar

Posts: 638
Reputation: 31
35 / Male / –
Joined: Aug 2004
RE: Problem with messenger api
quote:
Originally posted by KooKiz
Hi,
I've got a very annoying problem with visual studio since a few weeks.  I can't use windows messenger's api functions anymore. For exemple, when I load the exemple template for visual basic.net (MPAdvPluginVB), I've got an error at the line :
Public Shared WithEvents oMessenger As MessengerAPI.MessengerClass

Error is : Name 'MessengerAPI' is not declared.

When I look at the references, there is an exclamation mark in front of MessengerAPI.

I tryed to reinstall msn and msgplus, without any result.

Do you know where this problem come from, and a way to fix it ? Is there a way to uninstall windows messenger so I can reinstall it ?


that just sets the with.

in Visual Basic 6.0  i remember having to use something like
code:
Set oMessenger as New Messenger.MessengerAPI
on a form load or button click.

i dont know if you need to set it as a new one in .Net, maybe you could muck around with the code i stated

i hope you figure it out anyway (Y).
[Image: jeansiger5.jpg]
01-12-2005 12:20 PM
Profile PM Find Quote Report
Plik
Veteran Member
*****

Avatar

Posts: 1489
Reputation: 46
35 / Male / –
Joined: Jun 2004
RE: Problem with messenger api
In .net you need a reference to an interop dll but i think thats included with the plugin sample.
Check it out. Go to:
Project>>Show all files>> then open the references folder.
And you should have MessengerAPI or interopMessengerAPI in there,

This post was edited on 01-12-2005 at 04:14 PM by Plik.
01-12-2005 04:12 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Problem with messenger api
quote:
Originally posted by KooKiz
Is there a way to uninstall windows messenger so I can reinstall it ?
yes, but that wouldn't do any good and isn't needed. Just reinstall Windows Messenger on top...
.-= A 'frrrrrrrituurrr' for Wacky =-.
01-12-2005 04:26 PM
Profile PM Find Quote Report
KooKiz
Junior Member
**


Posts: 41
Joined: Oct 2004
O.P. RE: Problem with messenger api
I reinstalled Windows Messenger on top (I thought that would not work since it don't work with mediaplayer) and the problem is fixed ^_^
Well, seems that was easy :)
Thanks
01-12-2005 05:02 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On