What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Sorry if this has been asked...

Sorry if this has been asked...
Author: Message:
frak
New Member
*

Avatar
I didn't do it!

Posts: 9
– / Male / –
Joined: Oct 2005
O.P. RE: Sorry if this has been asked...
Unfortunately despite my best efforts I am unable to get any kind of code working using VB.NET - even using the /codebase option (are those warnings normal?)

Thanks for your help anyway guys - I think I may try C++ as I have slightly masochistic tendencies ;o)
Well, having done exactly what I said I wouldn't, I have stuck with trying to nail down what is going wrong with my VB.NET plugin, please consider the following Initialise function

code:
    Public Function Initialize(ByVal nVersion As Integer, ByVal sUserEmail As String, ByVal oMessenger As Object) As Boolean
        MsgBox(sAppName + "::Initialise called!", MsgBoxStyle.OKOnly, "DEBUG")
        MyPlugin.oMessenger = oMessenger
        MsgBox(sAppName + "::Initialise - Got Messenger ref", MsgBoxStyle.OKOnly, "DEBUG")
        Initialize = True
    End Function


There are other things, such as dimming vars and some set-up that I have removed for simplicity, and testing.  Now, when I start Messenger I get the first MsgBox, but not the second.  I have declared my oMessenger as follows:
code:
    Public Shared WithEvents oMessenger As MessengerAPI.Messenger


Although the sample has this as MessengerClass, I changed this because of the code I found in this thread but neither have made any difference - if I try to get a reference to the running Messenger instance, then my function doesn't get past this point.

Any ideas?
10-07-2005 04:45 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Sorry if this has been asked... - by frak on 10-01-2005 at 02:23 AM
RE: Sorry if this has been asked... - by RaceProUK on 10-03-2005 at 01:45 PM
RE: Sorry if this has been asked... - by CookieRevised on 10-03-2005 at 02:27 PM
RE: Sorry if this has been asked... - by frak on 10-03-2005 at 03:10 PM
RE: Sorry if this has been asked... - by CookieRevised on 10-03-2005 at 09:10 PM
RE: Sorry if this has been asked... - by frak on 10-04-2005 at 02:30 PM
RE: Sorry if this has been asked... - by CookieRevised on 10-04-2005 at 06:01 PM
RE: RE: Sorry if this has been asked... - by KokiriChild on 10-04-2005 at 06:07 PM
RE: Sorry if this has been asked... - by CookieRevised on 10-04-2005 at 06:12 PM
RE: Sorry if this has been asked... - by frak on 10-04-2005 at 07:04 PM
RE: Sorry if this has been asked... - by J-Thread on 10-04-2005 at 07:13 PM
RE: Sorry if this has been asked... - by frak on 10-04-2005 at 07:30 PM
RE: Sorry if this has been asked... - by J-Thread on 10-04-2005 at 07:32 PM
RE: RE: Sorry if this has been asked... - by KokiriChild on 10-04-2005 at 07:48 PM
RE: Sorry if this has been asked... - by CookieRevised on 10-05-2005 at 04:15 PM
RE: Sorry if this has been asked... - by KokiriChild on 10-05-2005 at 06:05 PM
RE: Sorry if this has been asked... - by RaceProUK on 10-06-2005 at 12:59 PM
RE: Sorry if this has been asked... - by J-Thread on 10-06-2005 at 04:17 PM
RE: Sorry if this has been asked... - by frak on 10-07-2005 at 04:45 PM
RE: Sorry if this has been asked... - by J-Thread on 10-07-2005 at 06:34 PM
RE: Sorry if this has been asked... - by frak on 10-07-2005 at 07:05 PM
RE: Sorry if this has been asked... - by J-Thread on 10-08-2005 at 07:15 AM


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