O.P. Variablising the oMessenger Object passed to Initialize
ok i need to set the object of a variable to the oMessenger object passed to Initialize
here is what im using
code:in a module
Option Explicit
Global MSN As Object
___________________
in the class module
Public Function Initialize(ByVal nVersion As Long, ByVal sUserEmail As String, ByVal oMessenger As Object) As Boolean
Set MSN = Nothing
Set MSN = oMessenger
Initialize = True
End Function
its in vb
ive also tried
code:Set MSN = New oMessenger
thanks for any help in advance
edit: Dempsey suggested i add the Windows Messenger API, but in the last version of my proggie i didnt need to.
This post was edited on 12-21-2004 at 04:15 PM by Ash_.
Posts: 2795 Reputation: 48
32 / /
Joined: Mar 2003
RE: Variablising the oMessenger Object passed to Initialize
Actually, the last time I used the messenger object that MsgPlus! gives me, I noticed that it passes thing like "hWnd", "Top", "Left" etc.
But I'm not sure...
RE: Variablising the oMessenger Object passed to Initialize
quote:Originally posted by Mike2
Actually, the last time I used the messenger object that MsgPlus! gives me, I noticed that it passes thing like "hWnd", "Top", "Left" etc.
But I'm not sure...
you're right: you're not sure. because what you're talking about is the IMessengerWindow interface.