Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Plinio Fermin
  Where is Plinio Fermin?
 Santiago
 Dominican Republic
 Plinio Fermin
 To: Barney Stevenson
  Where is Barney Stevenson?
 Wilton
 Connecticut - United States
 Barney Stevenson
 Tags
Subject: RE: Using .NET Messenger Service in VFP 6.0
Thread ID: 10967 Message ID: 11085 # Views: 21 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Saturday, May 25, 2002 5:44:09 PM         
   


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




COMPLETE THREAD
Using .NET Messenger Service in VFP 6.0 Posted by Barney Stevenson @ 5/22/2002 3:05:25 PM
RE: Using .NET Messenger Service in VFP 6.0 Posted by Plinio Fermin @ 5/25/2002 5:44:09 PM
RE: Using .NET Messenger Service in VFP 6.0 Posted by zhgfhz zzz @ 4/8/2005 7:23:27 AM