You can use "Object Browser" from Visual Foxpro tools menu and open "Messenger Type lybrary", here you can see all information about this library.
PUBLIC ATM_Messenger,ATM_Messenger2
***Messenger use 2 classes
ATM_Messenger = CREATEOBJECT("Messenger.MessengerApp.1")
ATM_Messenger2 = CREATEOBJECT("Messenger.MsgrObject.1")
ATM_Messenger.Visible = .t.
ATM_Messenger.LaunchLogonUI()
After this lets intellisence do all the job.
>
> Recent Feb 2002 article in Foxpro Advisor describes using .Net Messenger service in a VFP app. Gives example but does not show how to make the various libraries to the VFP Form
>
> I have downloaded and unzipped the 3 files from Microsoft web site:
> MessengerUA.exe
> Messengeraddln.exe
> Messenger.exe
> I can use msmsgs.exe and send and receive IMs OK. But now to access the control from within VFP ...
>
> The documentation talks about adding messenger libraries to the C++ or VB enviromnents.
>
>
> When I try to lomsg = createobject('messenge.messengerapp')
> and then lomsg.autologon
> I get OLE error code 0x81000304: Unknown Com status code
>
> Can you point me in the right direction ?
> Is there something I need to do to register the application or make the libraries available to VFP 6.0
>
> Thanks
>
>
> barney