What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Plugin - Help Needed, Plugins Load But Not MsgPlus?

Pages: (3): « First « 1 [ 2 ] 3 » Last »
Plugin - Help Needed, Plugins Load But Not MsgPlus?
Author: Message:
mopflash
Junior Member
**


Posts: 16
Joined: Dec 2003
O.P. RE: Devlopment of Song2Name plugin (Visual Basic)
At the moment im usin Visual Basic from 'Visual Studio 6 2003 Enterprise'
07-14-2004 04:29 PM
Profile E-Mail PM Find Quote Report
Phrive
Full Member
***

Avatar
...!Phrive!...

Posts: 401
Reputation: 4
35 / Male / –
Joined: May 2004
RE: Devlopment of Song2Name plugin (Visual Basic)
any other links cant find many on the internet i had one b4 but i cnt member wat its called
[Image: 1thing5hk.gif]

07-14-2004 04:40 PM
Profile E-Mail PM Find Quote Report
mopflash
Junior Member
**


Posts: 16
Joined: Dec 2003
O.P. RE: Devlopment of Song2Name plugin (Visual Basic)
I dont think you would be allowed to ask for pirated material here, and im really trying to get an answer to how u detect when u login!
07-14-2004 04:42 PM
Profile E-Mail PM Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
21 / Other / Flag
Joined: Jul 2003
RE: Devlopment of Song2Name plugin (Visual Basic)
u can get vb 2005 :)

http://shoutbox.menthix.net/showthread.php?tid=27887


best of all its freee :)
07-14-2004 05:02 PM
Profile PM Web Find Quote Report
Millenium_edition
Veteran Member
*****

Avatar

Posts: 1787
Reputation: 57
Joined: Apr 2003
RE: HELP NEEDED! Detect when u sign in
quote:
Originally posted by mopflash
This is my 2nd day in vb
Why don't you start over with some easier stuff than a plugin. For a start: hello world...
quote:
Originally posted by mopflash
And also all the contacts in my contactlist are duplicated so theres 2 of them, do u know y this happens or is it my code?
That's a server-side bug.
quote:
Originally posted by mopflash
im really trying to get an answer to how u detect when u login!
start with something easier, messengerapi_OnMyStatusChanged can never be raised and you don't even know why. Learn vb and OOP and then learn developing plugins
07-14-2004 07:42 PM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: HELP NEEDED! Detect when u sign in
You've got to remember to include a reference to 'Messenger API Type Library', and then declare a variable:
    Dim MSN As Messenger
Then, in Initialize:
    Set messenger = oMessenger
Then you can use the event.
[Image: spartaafk.png]
07-14-2004 09:47 PM
Profile PM Web Find Quote Report
mopflash
Junior Member
**


Posts: 16
Joined: Dec 2003
O.P. RE: HELP NEEDED! Detect when u sign in
Yes i have got reference to the Messenger API
and  this is the code im using to load it.
code:
Option Explicit
Private WithEvents objMessenger As MessengerAPI.Messenger

Then inside my forms load:
code:
Set objMessenger = New MessengerAPI.Messenger


And with this code check1.enabled always equals false even on login (this is using modifiend code of jackass_wanabee's on page 1:
code:
Private Sub messengerapi_OnMyStatusChange(hr As Long, mMyStatus As MISTATUS)
If mMyStatus = MISTATUS_ONLINE Then
Check1.Enabled = True
Else
Check1.Enabled = False
End If
End Sub

07-15-2004 06:58 AM
Profile E-Mail PM Find Quote Report
mopflash
Junior Member
**


Posts: 16
Joined: Dec 2003
O.P. RE: HELP NEEDED! Detect when u sign in
And 'Millenium_edition' instead of quoting stuff ive said and then saying how stupid i am, y dont u help me become smarter, by giving me some code examples and help me fix my problem!
07-15-2004 07:00 AM
Profile E-Mail PM Find Quote Report
mopflash
Junior Member
**


Posts: 16
Joined: Dec 2003
O.P. RE: HELP NEEDED! Detect when u sign in
Okz ive fixed everything up now it works fine, except that all the MsgPlus plugins load but not MsgPlus, and in the messenger window all the contacts are duplicated and if you try to do something the messenger window goes black and freezes. What did i do? i have my plugin loading from a if in the initialize function by 'Config.Show VbModal'

This post was edited on 07-15-2004 at 09:51 AM by mopflash.
07-15-2004 07:56 AM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Plugin - Help Needed, Plugins Load But Not MsgPlus?
quote:
Originally posted by mopflash

Then inside my forms load:
code:
Set objMessenger = New MessengerAPI.Messenger


Don't do it this way; in Initialize, use
code:
Set objMessenger = oMessenger

This way, you should hopefully avoid some of the problems you're describing, and also stop Windows Messenger starting on XP machines.
[Image: spartaafk.png]
07-15-2004 09:28 AM
Profile PM Web Find Quote Report
Pages: (3): « First « 1 [ 2 ] 3 » Last »
« 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